zoomLevel property

int get zoomLevel

Retrieves the current zoom level of the map view.

Returns the active zoom level, which determines how close the view is to the map surface. Higher values represent closer (more zoomed in) views. The value is always between minZoomLevel and maxZoomLevel.

See also:

Implementation

int get zoomLevel {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapView',
    'getZoomLevel',
  );

  return resultString['result'];
}