maxBounds property
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. To set the restriction dynamically, use setMaxBounds method.
Implementation
external LatLngBounds get maxBounds;
Implementation
external set maxBounds(LatLngBounds value);