CameraZoomRestrictions | iOS SDK | 2GIS Documentation
iOS SDK

CameraZoomRestrictions

Allowed range of zoom level variation.

public init(
    minZoom: Zoom = Zoom(value: 0),
    maxZoom: Zoom = Zoom(value: 20)
)
Parameters
minZoom
maxZoom
Properties

Minimum zoom level must be less than the maximum.

Maximum zoom level is limited to a value of 20.