\MapExtension
Synopsis
class MapExtension
extends DataExtension
implements
Mappable
{
- // members
- private static string $map_info_window_suffix = '_MapInfoWindow';
- private static array $db = ;
- public static array $has_one = ;
- public static array $defaults = ;
- private $mapField = NULL;
- // methods
- public void updateCMSFields()
- public void getMappableLatitude()
- public void getMappableLongitude()
- public string getMappableMapContent()
- public void onBeforeWrite()
- public void getMappableMapPin()
- public void HasGeo()
- public void BasicMap()
- public [LatLongField] getMapField()
- public void UseCompressedAssets()
Hierarchy
Members
private
- $db
- $mapField
- $map_info_window_suffix
public
- $defaults
- $has_one
Methods
public
- BasicMap()
- HasGeo()
- UseCompressedAssets() — Template helper, used to decide whether or not to use compressed assets.
- getMapField() — Access the map editing field for the purpose of adding guide points.
- getMappableLatitude()
- getMappableLongitude()
- getMappableMapContent() — Renders the map info window for the DataObject.
- getMappableMapPin()
- onBeforeWrite()
- updateCMSFields()