panInsideBounds method
Pans the map to the closest view that would lie inside the given bounds (if it's not already), controlling the animation using the options specific, if any.
Implementation
external LeafletMap panInsideBounds(LatLngBounds bounds,
[PanOptions? options]);