MapLayerVisibilityRange
public struct MapLayerVisibilityRange : Hashable
A layer’s visibility along a zoom level range. The range is half open - [minimumZoomLevel, maximumZoomLevel), the given maximum value is not contained in the range.
-
Minimum zoom level on which the layer will be visible. The value must be greater than or equal to the
MapCameraLimits.MIN_ZOOM_LEVEL.Declaration
Swift
public let minimumZoomLevel: Double -
Minimum zoom level from which the layer will not be visible. The value must be less than or equal to the
MapCameraLimits.MAX_ZOOM_LEVEL. Note that the map layer is not visible at the maximum zoom level.Declaration
Swift
public let maximumZoomLevel: Double -
Creates a new instance.
Declaration
Swift
public init(minimumZoomLevel: Double, maximumZoomLevel: Double)