MapLayerVisibilityRange constructor - MapLayerVisibilityRange - mapview library - Dart API
MapLayerVisibilityRange
MapLayerVisibilityRange constructor
- double minimumZoomLevel,
- double maximumZoomLevel
Creates a new instance.
minimumZoomLevelMinimum zoom level on which the layer will be visible. The value must be greater than or equal to theMapCameraLimits.MIN_ZOOM_LEVEL.maximumZoomLevelMinimum zoom level from which the layer will not be visible. The value must be less than or equal to theMapCameraLimits.MAX_ZOOM_LEVEL. Note that the map layer is not visible at the maximum zoom level.
Implementation
const MapLayerVisibilityRange(this.minimumZoomLevel, this.maximumZoomLevel);