setZoomLevel

external fun setZoomLevel(zoomLevel: Int, duration: Int = 0): Int

Set a zoom level in follow position mode

Return

The previous zoom level

Parameters

zoomLevel

Zoom level, may be between 0 and MapView.maxZoomLevel

duration

The animation duration in milliseconds (0 means no animation)