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

CameraZoomRestrictions

Acceptable zoom range.

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

Acceptable zoom range.

Parameters
minZoom
maxZoom
Returns
Properties

The minimum zoom level must be less than the maximum one.

Maximum scale is limited to 20.