CameraZoomRestrictions | iOS SDK | 2GIS Documentation

CameraZoomRestrictions

Allowed range of zoom level variation.

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

The minimum zoom level must be less than the maximum.

The maximum zoom level is limited to a value of 20.