getZoomLevel method

  1. @override
Future<double> getZoomLevel({
  1. required int mapId,
})
override

Returns the current zoom level of the map.

Implementation

@override
Future<double> getZoomLevel({
  required int mapId,
}) async {
  return (await channel(mapId).invokeMethod<double>('map#getZoomLevel'))!;
}