\MappableData
Synopsis
class MappableData
extends Extension
{
- // members
- private $MarkerTemplateValues = NULL;
- private static string $staticmap_api_url = '//maps.googleapis.com/maps/api/staticmap';
- private static integer $staticmap_default_zoom = 13;
- // methods
- public void setMarkerTemplateValues()
- public void getRenderableMap()
- public string StaticMap()
Hierarchy
Extends
- Extension
Members
private
-
$MarkerTemplateValues
Optional template values for the map info windows. - $staticmap_api_url
—
string
URL of static maps api. - $staticmap_default_zoom
—
int
Default zoom for static map.
Methods
public
- StaticMap() — returns an <img> with a src set to a static map picture.
- getRenderableMap()
- setMarkerTemplateValues() — Pass through values to the markers so that when rendering the map info windows, these parameters are available to the template. This is of course optional.