Class MapLayerVisibilityRange
Class MapLayerVisibilityRange
- java.lang.Object
-
- com.here.sdk.mapview.MapLayerVisibilityRange
-
public final class MapLayerVisibilityRange extends java.lang.ObjectA 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 doublemaximumZoomLevelMinimum zoom level from which the layer will not be visible.doubleminimumZoomLevelMinimum 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 booleanequals(java.lang.Object obj)inthashCode()
-
-
-
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.
-
-