Description
Gets the latitude/longitude coordinates for a given address.
Function syntax
ColdFusion.Map.getLatitudeLongitude("address", "callBack") |
See also
ColdFusion.Map.addMarker, ColdFusion.Map.getMapObject, ColdFusion.Map.setCenter, ColdFusion.Map.setZoomlevel
History
ColdFusion 9: Added this function
Parameters
Parameter |
Description |
---|---|
address |
Specifies the value in the address attribute of the cfmap tag. |
callBack |
The callback function that runs after the longitude/latitude values are successfully located. |
Returns
This function returns a callback function that gets the latitude and longitude values of the specified address.
Example
<h3>This is an example of the Map.getLatitudeLongitude function. Click the HTML button labeled "GetLatitude-Longitude" to get the latitude and longitude of Ann Arbor,MI.</h3> |