\JGoogleEmbedMaps
Google Maps embed class for the Joomla Platform.
Synopsis
class JGoogleEmbedMaps
extends JGoogleEmbed
{
- // members
- protected JHttp $http;
- // methods
- public void __construct()
- public string getKey()
- public JGoogleEmbedMaps setKey()
- public string getMapID()
- public JGoogleEmbedMaps setMapID()
- public string getMapClass()
- public JGoogleEmbedMaps setMapClass()
- public string getMapStyle()
- public JGoogleEmbedMaps setMapStyle()
- public string getMapType()
- public JGoogleEmbedMaps setMapType()
- public string getAdditionalMapOptions()
- public JGoogleEmbedMaps setAdditionalMapOptions()
- public string getAdditionalJavascript()
- public JGoogleEmbedMaps setAdditionalJavascript()
- public int getZoom()
- public JGoogleEmbedMaps setZoom()
- public mixed getCenter()
- public JGoogleEmbedMaps setCenter()
- public mixed addMarker()
- public array listMarkers()
- public array deleteMarker()
- public boolean isAsync()
- public JGoogleEmbedMaps useAsync()
- public JGoogleEmbedAMaps useSync()
- public string getAsyncCallback()
- public JGoogleEmbedMaps setAsyncCallback()
- public boolean hasSensor()
- public JGoogleEmbedMaps useSensor()
- public JGoogleEmbedAMaps noSensor()
- public string getAutoload()
- public JGoogleEmbedAMaps setAutoload()
- public string getHeader()
- public string getBody()
- public array geocodeAddress()
- // Inherited methods from JGoogleEmbed
- public void __construct()
- public string isSecure()
- public abstract string getHeader()
- public abstract string getBody()
- public null echoHeader()
- public null echoBody()
- public mixed getOption()
- public JGoogleEmbed setOption()
Hierarchy
Extends
Members
Methods
public
- __construct() — Constructor.
- addMarker() — Add a marker to the map
- deleteMarker() — Delete a marker from the map
- geocodeAddress() — Method to get the location information back from an address
- getAdditionalJavascript() — Method to get additional map options
- getAdditionalMapOptions() — Method to get additional map options
- getAsyncCallback() — Method to get callback function for async javascript loading
- getAutoload() — Checks how the script should be loaded
- getBody() — Method to retrieve the div that the map is loaded into
- getCenter() — Method to set the center of the map
- getHeader() — Get code to load Google Maps javascript
- getKey() — Method to get the API key
- getMapClass() — Method to get the class of the map div
- getMapID() — Method to get the id of the map div
- getMapStyle() — Method to get the style of the map div
- getMapType() — Method to get the map type setting
- getZoom() — Method to get the zoom
- hasSensor() — Checks if a sensor is set to be required
- isAsync() — Checks if the javascript is set to be asynchronous
- listMarkers() — List the markers added to the map
- noSensor() — Don't require access to sensor data
- setAdditionalJavascript() — Method to add additional javascript
- setAdditionalMapOptions() — Method to add additional map options
- setAsyncCallback() — Method to set the callback function for async javascript loading
- setAutoload() — Automatically add the callback to the window
- setCenter() — Method to set the center of the map
- setKey() — Method to set the API key
- setMapClass() — Method to set the map div class
- setMapID() — Method to set the map div id
- setMapStyle() — Method to set the map div style
- setMapType() — Method to set the map type ()
- setZoom() — Method to set the map zoom
- useAsync() — Load javascript asynchronously
- useSensor() — Require access to sensor data
- useSync() — Load javascript synchronously
Inherited from JGoogleEmbed
public
- echoBody() — Method to output the body for the API
- echoHeader() — Method to output the javascript header for the embed API
- getBody() — Method to retrieve the body for the API
- getHeader() — Method to retrieve the header for the API
- getOption() — Get an option from the JGoogleEmbed instance.
- isSecure() — Method to retrieve the javascript header for the embed API
- setOption() — Set an option for the JGoogleEmbed instance.