Zoom

Controls scale of your map view

setZoom

Sets the zoom level of the map.

Parameter

Example

mapInstance.setZoom(5);

getZoom

Gets the current zoom level of the map.

Return

The current zoom level of the map.

Example

mapInstance.getZoom();
return 5

Last updated