Whether the map can be zoomed in by double clicking on it and zoomed out by double clicking while
holding shift. If passed 'center', double-click zoom will zoom to the center of the view regardless of
where the mouse was.
If enabled, panning of the map will have an inertia effect where the map builds momentum while dragging and
continues moving in the same direction for some time. Feels especially nice on touch devices. Enabled by
default unless running on old Android devices.
Whether markers animate their zoom with the zoom animation, if disabled they will disappear for the length
of the animation. By default it's enabled in all browsers that support CSS3 Transitions except Android.
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.
If maxBounds is set, this option 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.
Maximum zoom level of the map. If not specified and at least one GridLayer or TileLayer is in the map, the
highest of their maxZoom options will be used instead.
Minimum zoom level of the map. If not specified and at least one GridLayer or TileLayer is in the map, the
lowest of their minZoom options will be used instead.
Whether the map can be zoomed by touch-dragging with two fingers. If passed 'center', it will zoom to
the center of the view regardless of where the touch events (fingers) were. Enabled for touch-capable
web browsers except for old Androids.
How many scroll pixels (as reported by L.DomEvent.getWheelDelta) mean a change of one full zoom level.
Smaller values will make wheel-zooming faster (and vice versa).
With this option enabled, the map tracks when you pan to another "copy" of the world and seamlessly jumps to
the original one so that all overlays like markers and vector layers are still visible.
Controls how much the map's zoom level will change after a zoomIn(), zoomOut(), pressing + or - on the
keyboard, or using the zoom controls. Values smaller than 1 (e.g. 0.5) allow for greater granularity.
Forces the map's zoom level to always be a multiple of this, particularly right after a fitBounds() or a
pinch-zoom. By default, the zoom level snaps to the nearest integer; lower values (e.g. 0.5 or 0.1)
allow for greater granularity. A value of 0 means the zoom level will not be snapped after fitBounds or
a pinch-zoom.