Description
Gets the Google map component. You can manipulate the map using supported Google Map APIs.
Function syntax
ColdFusion.Map.getMapObject("name") |
See also
ColdFusion.Map.addMarker, ColdFusion.Map.getLatitudeLongitude, ColdFusion.Map.setCenter,
ColdFusion.Map.setZoomlevel
History
ColdFusion 9: Added this function
Parameters
Parameter |
Description |
---|---|
name |
Specifies the value of the name attribute of the cfmap tag. |
Returns
This function returns the Google map component. The map type can be map, satellite, or hybrid.
Example
<h3>This is an example of the Map.getmapObject function. Click the HTML button labeled "GetMap" to get the map object and set the center to Palo Alto.</h3> |