getVisibleRegion method

Future<LatLngBounds> getVisibleRegion()

This method returns the boundaries of the region currently displayed in the map.

Implementation

Future<LatLngBounds> getVisibleRegion() async {
  return MapboxFlutterPlatfom.getInstance(_id).getVisibleRegion();
}