Class MapLayerVisibilityRange

java.lang.Object
com.here.sdk.mapview.MapLayerVisibilityRange

public final class MapLayerVisibilityRange extends 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 Details

    • 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 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