API DOCUMENTATION

setZoom

Set the zoom level on the map.The zoom level can be set 0~20.The initial value is 0.

 

Parameter
Required Parameter Description
value The zoom level to set,0~20

 

Example
mapInstance.setZoom(5)

getZoom

Gets the current zoom level value shown on the map.

 

Return

The map’s current zoom level.

 

Example
mapInstance.getZoom()
return 5