Class MapLayerMapMeasureDependentStorageLevels
Class MapLayerMapMeasureDependentStorageLevels
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.mapview.MapLayerMapMeasureDependentStorageLevels
-
public final class MapLayerMapMeasureDependentStorageLevels extends NativeBase
Provides a mapping between a MapLayer map measure to datasource storage level.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapLayerMapMeasureDependentStorageLevelswithStorageLevelOffset(int offset)Creates an instance ofMapLayerMapMeasureDependentStorageLevelswith the specified storage level offset.
-
-
-
Method Detail
-
withStorageLevelOffset
@NonNull public static MapLayerMapMeasureDependentStorageLevels withStorageLevelOffset(int offset)
Creates an instance of
MapLayerMapMeasureDependentStorageLevelswith the specified storage level offset. This creates a map where the storage level is determined by applying an "offset" to the zoom level. A negative offset results in a storage level lower than the zoom level, while a positive offset increases it. For example, with an offset of 0, the storage level matches the zoom level directly. An offset of -1 makes the storage level one less than the zoom level, and so on. The offset value is clamped to the range of -3 to 3. Note: The generated mapping adjusts so that when the map camera is significantly tilted, the storage level is further reduced for data near the horizon.- Parameters:
offset-Defines an offset of storage level from the zoom level. The value will be clamped to a range of -3 to 3.
- Returns:
MapLayerMapMeasureDependentStorageLevels instance.
-
-