diff --git a/reference.html b/reference.html index 138db926..29274835 100644 --- a/reference.html +++ b/reference.html @@ -211,7 +211,7 @@ 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. crs @@ -1905,7 +1905,7 @@ var map = L.map('map', { zoomReverse Boolean false - If set to true, the zoom number used in tile URLs will be reversed (maxZoom - zoom instead of zoom) + If set to true, the zoom number used in tile URLs will be reversed (maxZoom - zoom instead of zoom). opacity @@ -3517,7 +3517,7 @@ map.panTo(L.latLng(50, 30)); Number - Returns the distance (in meters) to the given LatLng calculated using the Haversine formula. See description on wikipedia + Returns the distance (in meters) to the given LatLng calculated using the Haversine formula. See description on wikipedia. equals( @@ -5304,7 +5304,7 @@ MyClass.FOO; // 'bar' <HTMLElement> element? ) Number - Schedules fn to be executed when the browser repaints. When immediate is set, fn is called immediately if the browser doesn't have native support for requestAnimationFrame, otherwise it's delayed. Returns an id that can be used to cancel the request + Schedules fn to be executed when the browser repaints. When immediate is set, fn is called immediately if the browser doesn't have native support for requestAnimationFrame, otherwise it's delayed. Returns an id that can be used to cancel the request. cancelAnimFrame( @@ -5848,7 +5848,7 @@ fx.run(el, [300, 500], 0.5); this - Run an animation of a given element to a new position, optionally setting duration in seconds (0.25 by default) and easing linearity factor (3rd argument of the cubic bezier curve, 0.5 by default) + Runs an animation of a given element to a new position, optionally setting duration in seconds (0.25 by default) and easing linearity factor (3rd argument of the cubic bezier curve, 0.5 by default). @@ -5883,7 +5883,7 @@ fx.run(el, [300, 500], 0.5);

Draggable

-

A class for making DOM elements draggable (including touch support). Used internally for map and marker dragging. Only works for elements that were positioned with DomUtil#setPosition

+

A class for making DOM elements draggable (including touch support). Used internally for map and marker dragging. Only works for elements that were positioned with DomUtil#setPosition.

var draggable = new L.Draggable(elementToDrag);
 draggable.enable();