Class MapLayerVisibilityRange
- Last UpdatedMay 28, 2025
- 2 minute read
- java.lang.Object
-
- com.here.sdk.mapview.MapLayerVisibilityRange
-
public final class MapLayerVisibilityRange extends java.lang.Object
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
Fields Modifier and Type Field Description double
maximumZoomLevel
Minimum zoom level from which the layer will not be visible.double
minimumZoomLevel
Minimum zoom level on which the layer will be visible.
-
Constructor Summary
Constructors Constructor Description MapLayerVisibilityRange(double minimumZoomLevel, double maximumZoomLevel)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Field Detail
-
minimumZoomLevel
public final double 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
public final double 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.
-
-
Constructor Detail
-
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.
-
-