Method | Parameters | Data Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
addControl | $control | String | The name of the control. The naming of the control strings passed to the addControl method coincides with Google's naming of the control, so 'smallMap' creates Google's GSmallMapControl, 'scale' creates Google's GScaleControl, etc. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setType | $type | String | $type can be any Google Type Constants specified in the API reference for GmapType (http://code.google.com/apis/maps/documentation/reference.html#GMapType). The map will default to the G_NORMAL_MAP type. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
drawMap | none | Returns the map markup to be output from the extension. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
enableDirections | $prefill = false | boolean | $prefill is a boolean to toggle whether or not a logged in FE user's address should be automatically filled in to the directions form of the marker tab. | $directionsContainer = null | String | $directionsContainer is a string with the id of a container element that will hold the written out driving instructions. If left at its default value of null, no written directions will be shown. | boolean | $prefill is a boolean to toggle whether or not a logged in FE user's address should be automatically filled in to the directions form of the marker tab. | $directionsContainer = null | String | $directionsContainer is a string with the id of a container element that will hold the written out driving instructions. If left at its default value of null, no written directions will be shown. | $prefill is a boolean to toggle whether or not a logged in FE user's address should be automatically filled in to the directions form of the marker tab. | $directionsContainer = null | String | $directionsContainer is a string with the id of a container element that will hold the written out driving instructions. If left at its default value of null, no written directions will be shown. | $directionsContainer = null | String | $directionsContainer is a string with the id of a container element that will hold the written out driving instructions. If left at its default value of null, no written directions will be shown. | String | $directionsContainer is a string with the id of a container element that will hold the written out driving instructions. If left at its default value of null, no written directions will be shown. | $directionsContainer is a string with the id of a container element that will hold the written out driving instructions. If left at its default value of null, no written directions will be shown. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
addMarkerIcon | $iconData | Array | Add an extra icon that can be used as a marker icon. $iconData will have the same format as the array generated from the TS. See below for an example. $iconData = array( 'iconID' => 'default', 'imagepath' => 'typo3conf/ext/wec_map/images/mm_20_red.png', 'shadowpath' => 'typo3conf/ext/wec_map/images/mm_20_shadow.png', 'width' => 12, 'height' => 20, 'shadowWidth' => 22, 'shadowHeight' => 20, 'anchorX' => 6, 'anchorY' => 20, 'infoAnchorX' => 5, 'infoAnchorY' => 1 ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
addKML | $url | String | Add any custom KML overlay to the map. $url is a standard URL pointing to the kml file, e.g. 'http://somewebsite.com/somekmlfile.kml' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setRadius | $radius | float | The radius beyond which no markers are added to the map. | $kilometers = false | boolean | Sets kilometers or miles as unit. | float | The radius beyond which no markers are added to the map. | $kilometers = false | boolean | Sets kilometers or miles as unit. | The radius beyond which no markers are added to the map. | $kilometers = false | boolean | Sets kilometers or miles as unit. | $kilometers = false | boolean | Sets kilometers or miles as unit. | boolean | Sets kilometers or miles as unit. | Sets kilometers or miles as unit. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setCenter | $lat | float | Latitude of the map center | $long | float | Longitude of the map center | float | Latitude of the map center | $long | float | Longitude of the map center | Latitude of the map center | $long | float | Longitude of the map center | $long | float | Longitude of the map center | float | Longitude of the map center | Longitude of the map center | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setCenterByAddress | $street | String | Street | $city | String | City | $state | String | State | $zip | String | Zip | $country = null | String | Country | String | Street | $city | String | City | $state | String | State | $zip | String | Zip | $country = null | String | Country | Street | $city | String | City | $state | String | State | $zip | String | Zip | $country = null | String | Country | $city | String | City | $state | String | State | $zip | String | Zip | $country = null | String | Country | String | City | $state | String | State | $zip | String | Zip | $country = null | String | Country | City | $state | String | State | $zip | String | Zip | $country = null | String | Country | $state | String | State | $zip | String | Zip | $country = null | String | Country | String | State | $zip | String | Zip | $country = null | String | Country | State | $zip | String | Zip | $country = null | String | Country | $zip | String | Zip | $country = null | String | Country | String | Zip | $country = null | String | Country | Zip | $country = null | String | Country | $country = null | String | Country | String | Country | Country | |||
showInfoOnLoad | none | Shows the info bubble on load if there is only one marker on the map. |