• 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • 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.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object