Properties that can be passed into the constructor for MapConstraints.

interface MapConstraintsProperties {
    maxScale?: number;
    minScale?: number;
    rotationEnabled?: boolean;
    snapToZoom?: boolean;
    viewSync?: ViewSyncConstraints;
}

Properties

maxScale?: number
minScale?: number
rotationEnabled?: boolean
snapToZoom?: boolean