diff --git a/reference.html b/reference.html index f75adf91..472483cb 100644 --- a/reference.html +++ b/reference.html @@ -206,8 +206,14 @@ var map = L.map('map', { maxBounds LatLngBounds null - When this option is set, the map restricts the view to the given geographical bounds, bouncing the user back when he tries to pan outside the view. To set the restriction dynamically, use setMaxBounds method - + When this option is set, the map restricts the view to the given geographical bounds, bouncing the user back when he tries to pan outside the view. To set the restriction dynamically, use setMaxBounds method. + + + maxBoundsViscosity + Number + 0.0 + If maxBounds is set, this options will control how solid the bounds are when dragging the map around. The default value of 0.0 allows the user to drag outside the bounds at normal speed, higher values will slow down map dragging outside bounds, and 1.0 makes the bounds fully solid, preventing the user from dragging outside the bounds. + crs CRS