JGoogleEmbedMaps
class JGoogleEmbedMaps extends JGoogleEmbed
Google Maps embed class for the Joomla Platform.
Methods
Constructor.
Get code to load Google Maps javascript
Method to retrieve the div that the map is loaded into
Set an option for the JGoogleEmbed instance.
Method to get the API key
Method to set the API key
Method to get the id of the map div
Method to set the map div id
Method to get the class of the map div
Method to set the map div class
Method to get the style of the map div
Method to set the map div style
Method to get the map type setting
Method to set the map type ()
Method to get additional map options
Method to add additional map options
Method to get additional map options
Method to add additional javascript
Method to get the zoom
Method to set the map zoom
Method to set the center of the map
Method to set the center of the map
Method to add an event handler to the map.
Method to remove an event handler from the map
List the events added to the map
Add a marker to the map
List the markers added to the map
Delete a marker from the map
Checks if the javascript is set to be asynchronous
Load javascript asynchronously
Load javascript synchronously
Method to get callback function for async javascript loading
Method to set the callback function for async javascript loading
Checks if a sensor is set to be required
Require access to sensor data
Don't require access to sensor data
Checks how the script should be loaded
Automatically add the callback to the window
Method to get the location information back from an address
Details
JGoogleEmbedMaps
setCenter(
mixed $location,
mixed $title = true,
array $markeroptions = array(),
array $markerevents = array())
Method to set the center of the map
JGoogleEmbedMaps
addEventHandler(
string $type,
string $function)
Method to add an event handler to the map.
Event handlers must be passed in either as callback name or fully qualified function declaration
mixed
addMarker(
mixed $location,
mixed $title = null,
array $options = array(),
array $events = array())
Add a marker to the map
JGoogleEmbedMaps
setAsyncCallback(
string $callback)
Method to set the callback function for async javascript loading