minZoomLevel property

int get minZoomLevel

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:

Implementation

int get minZoomLevel {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapView',
    'getMinZoomLevel',
  );

  return resultString['result'];
}
set minZoomLevel (int zoomLevel)

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:

Implementation

set minZoomLevel(final int zoomLevel) {
  objectMethod(_pointerId, 'MapView', 'setMinZoomLevel', args: zoomLevel);
}