Returns a new GeoLeafBounds expanded by the given ratio on all sides.
Replaces the legacy latLngBounds().pad() call. Used to compute maxBounds for the positionFixed feature.
latLngBounds().pad()
maxBounds
positionFixed
Original bounds.
Expansion ratio (e.g. 0.3 = 30% added to each side).
Expanded bounds as a plain GeoLeafBounds object.
Returns a new GeoLeafBounds expanded by the given ratio on all sides.
Replaces the legacy
latLngBounds().pad()call. Used to computemaxBoundsfor thepositionFixedfeature.