Zoom

setZoom

mapInstance.setZoom(zoomLevel);

Parameters

Parameter (Required)
Description
Remark

value

Zoom level (0-20)

Numeric

Returns

Parameter
Description
Remark

Example

mapInstance.setZoom(5);

getZoomtyp

mapInstance.getZoom();

Parameters

Parameter (Required)
Description
Remark

Gets the current zoom level of the map.

Returns

Parameter
Description
Remark

The current zoom level of the map.

Example

The MOGOS Maps API requires an API Key, which can be obtained from the MOGOS Console website or contact [email protected].

Last updated