maxBounds property
When this option is set, the map restricts the view to the given geographical bounds, bouncing the user back if the user tries to pan outside the view.
Implementation
final LatLngBounds? maxBounds;
When this option is set, the map restricts the view to the given geographical bounds, bouncing the user back if the user tries to pan outside the view.
final LatLngBounds? maxBounds;