\OLMapObject
OLMapObject class.
Each OpenLayers map instance is stored in the CMS as a OLMapObject
dataobject and can be linked to OLMapPages .
OLMapObjects stores information about the map configuration, such as
default map view and available layers.
Synopsis
class OLMapObject
extends DataObject
{
- // members
- private static string $singular_name = 'Map';
- private static string $plural_name = 'Maps';
- private static array $db = ;
- private static array $has_many = ;
- private static array $summary_fields = ;
- private static array $defaults = ;
- private static array $casting = ;
- private static string $default_sort = "Title ASC";
- // methods
- public fieldset getCMSFields()
- public void getJSStyleMaps()
- public array getConfigurationArray()
Hierarchy
Extends
- DataObject
Members
private
- $casting
- $db
- $default_sort
- $defaults
- $has_many
- $plural_name
- $singular_name
- $summary_fields
Methods
public
- getCMSFields() — Overwrites SiteTree.getCMSFields.
- getConfigurationArray() — This method serialize the map data structure into an array.
- getJSStyleMaps()