\GoogleMapField
- Author: Donatas Navidonskis <donatas@navidonskis.com>
Synopsis
class GoogleMapField
extends FormField
{
- // members
- private static array $allowed_actions = ;
- private static string $api = '';
- protected SS_List $markers = NULL;
- private static array $options = ;
- protected MapBlock $block;
- // methods
- public void __construct()
- public string getApi()
- public void setApi()
- public void setOptions()
- public array getTranslations()
- public string getOptions()
- private static array array_keys_to_objects()
- public void setMarkers()
- public bool|string getMarkers()
- public void deleteMarkers()
- public void updateMarkers()
- public void zoomChanged()
- public void coordinatesChanged()
Hierarchy
Extends
- FormField
Members
private
- $allowed_actions — array
- $api
—
string
Google maps api key - $options — array
protected
Methods
private
public
- __construct() — GoogleMapField constructor.
- coordinatesChanged() — Action to update coordinates changes.
- deleteMarkers() — Action to delete markers. Should be triggered InstanceId of marker.
- getApi()
- getMarkers()
- getOptions()
- getTranslations()
- setApi()
- setMarkers()
- setOptions()
- updateMarkers() — Action to update markers. Should be triggered InstanceId and other fields which has @see Marker has.
- zoomChanged() — Action to update zoom in/out changes.