zoomLevel property
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:
- setZoomLevel - Change the zoom level
- slippyZoomLevel - Get the slippy tile zoom level
Implementation
int get zoomLevel {
final OperationResult resultString = objectMethod(
_pointerId,
'MapView',
'getZoomLevel',
);
return resultString['result'];
}