ru.dgis.sdk.map.CameraZoomRestrictions | Android SDK | 2GIS Documentation

CameraZoomRestrictions

Permissible zoom range.

CameraZoomRestrictions(minZoom: Zoom = Zoom(value = 0.0f), maxZoom: Zoom = Zoom(value = 20.0f))

Permissible zoom range.

Parameters
minZoom
maxZoom
Returns
Properties

The minimum zoom level must be less than the maximum.

Maximum scale is limited to 20.