Zoom is the extent at which the map is displayed.
getZoom is a method that returns the current map zoom level.
Return |
Value |
---|---|
integer: |
Zoom level (0 = highest, 10 = lowest). |
Example:
var zoom = map.getZoom();
zoomIn and zoomOut are methods that change the zoom (increase or decrease map details) of the map to a zoom level relative to the current map center location.