\GoogleMap
Google Map Objects represent a google map that needs to be rendered into a page.
Synopsis
class GoogleMap
extends DataObject
{
- // members
- private $api_key;
- private static array $db = ;
- private static array $has_one = ;
- private static array $defaults = ;
- private static array $casting = ;
- private static array $summary_fields = ;
- private static string $default_sort = 'Sort';
- // methods
- public void getCMSFields()
- private void url_safe_address()
- public String getLocation()
- public String getFullAddress()
- public String Link()
- public String ImgURL()
- public void canCreate()
- public void canView()
- public void canEdit()
- public void canDelete()
Hierarchy
Extends
- DataObject
Members
private
- $api_key
- $casting
- $db
- $default_sort
- $defaults
- $has_one
- $summary_fields
Methods
private
public
- ImgURL() — URL for static map image
- Link() — Link to Google Maps for directions etc
- canCreate()
- canDelete()
- canEdit()
- canView()
- getCMSFields()
- getFullAddress() — Get a XML rendered version of the text address and post code
- getLocation() — Get the location for this map, either address / postcode or lat / long