withStorageLevelOffset static method
- int offset
Creates an instance of MapLayerMapMeasureDependentStorageLevels with 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.
offsetDefines an offset of storage level from the zoom level. The value will be clamped to a range of -3 to 3.
Returns MapLayerMapMeasureDependentStorageLevels. MapLayerMapMeasureDependentStorageLevels instance.
Implementation
static MapLayerMapMeasureDependentStorageLevels withStorageLevelOffset(int offset) => $prototype.withStorageLevelOffset(offset);