zoomRange property

MapMeasureRange zoomRange

The zoom range that can be applied to the camera. Gets the currently set camera zoom range.

By default, a MapCameraLimits.minZoomLevel-MapCameraLimits.maxZoomLevel zoom range is set during initialization.

Implementation

MapMeasureRange get zoomRange;
void zoomRange=(MapMeasureRange value)

The zoom range that can be applied to the camera. Sets a new camera zoom range.

The supported values fall inside MapCameraLimits.minZoomLevel-MapCameraLimits.maxZoomLevel range. Values outside the supported zoom range are ignored.

If the current camera zoom exceeds the limit range, it will immediately be set to minimum or maximum, depending on which is closest.

This new limit range becomes active during the next rendering loop.

Implementation

set zoomRange(MapMeasureRange value);