getVisibleRegion method

  1. @override
Future<LatLngBounds> getVisibleRegion({
  1. required int mapId,
})

Returns the bounds of the current viewport.

Implementation

@override
Future<LatLngBounds> getVisibleRegion({
  required int mapId,
}) {
  return _map(mapId).getVisibleRegion();
}