Description
Sets the zoom level of the map to the new value.
Function syntax
ColdFusion.Map.setZoomlevel("name", zoomLevelValue) |
See also
ColdFusion.Map.addMarker, ColdFusion.Map.getLatitudeLongitude, ColdFusion.Map.getMapObject,
ColdFusion.Map.setCenter
History
ColdFusion 9: Added this function
Parameters
Parameter |
Description |
---|---|
name |
Specifies the value of the name attribute of the cfmap tag. |
zoomLevelValue |
The value of the integer in the zoomlevel attribute of the cfmap tag. |
Returns
This function does not return any value.
Example
<h3>This is an example of the Map.setzoomlevel function. Click the Set Zoom Level button to set the zoom level to 6.</h3> |