MapLayerVisibilityRange (API Reference)
Class MapLayerVisibilityRange
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal doubleMinimum zoom level from which the layer will not be visible.final doubleMinimum zoom level on which the layer will be visible. -
Constructor Summary
ConstructorsConstructorDescriptionMapLayerVisibilityRange(double minimumZoomLevel, double maximumZoomLevel) Creates a new instance. -
Method Summary
-
Field Details
-
minimumZoomLevel
public final double minimumZoomLevelMinimum zoom level on which the layer will be visible. The value must be greater than or equal to the
MapCameraLimits.MIN_ZOOM_LEVEL. -
maximumZoomLevel
public final double maximumZoomLevelMinimum 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.
-
-
Constructor Details
-
MapLayerVisibilityRange
public MapLayerVisibilityRange(double minimumZoomLevel, double maximumZoomLevel) Creates a new instance.
- Parameters:
minimumZoomLevel-Minimum zoom level on which the layer will be visible. The value must be greater than or equal to the
MapCameraLimits.MIN_ZOOM_LEVEL.maximumZoomLevel-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.
-
-
Method Details