minZoomLevel property
Retrieves the minimum configured zoom level for the map view.
Returns the lower limit for zoom operations. Higher zoom levels represent closer views of the map, so the minimum zoom level represents the furthest (most zoomed out) view allowed. Attempts to zoom below this level will be clamped to this minimum value.
See also:
- maxZoomLevel - Get the maximum zoom level
- setZoomLevel - Set the current zoom level
Implementation
int get minZoomLevel {
final OperationResult resultString = objectMethod(
_pointerId,
'MapView',
'getMinZoomLevel',
);
return resultString['result'];
}
Sets the minimum zoom level allowed for the map view.
Configures the lower limit for zoom operations. This represents the furthest (most zoomed out) view the user or application can achieve. This setting affects all zoom operations including setZoomLevel, centerOnCoordinates, and user gesture-based zooming.
Parameters
zoomLevel: The minimum zoom level to configure
See also:
- minZoomLevel - Get the current minimum zoom level
- maxZoomLevel - Configure the maximum zoom level
Implementation
set minZoomLevel(final int zoomLevel) {
objectMethod(_pointerId, 'MapView', 'setMinZoomLevel', args: zoomLevel);
}