A constant that represents the Leaflet version in use.
Creates a Bounds object from two coordinates (usually top-left and bottom-right corners).
Creates a Bounds object defined by the points it contains.
Instantiates a circle object given a geographical point, a radius in meters and optionally an options object.
Instantiates a circle marker given a geographical point and optionally an options object. The default radius is 10 and can be altered by passing a "radius" member in the path options object.
Creates a div icon instance with the given options.
Creates a Draggable object for moving the given element when you start dragging the dragHandle element (equals the element itself by default).
Create a layer group, optionally given an initial set of layers.
Creates a GeoJSON layer. Optionally accepts an object in GeoJSON format to display on the map (you can alternatively add it later with addData method) and an options object.
Creates an icon instance with the given options.
Instantiates an image overlay object given the URL of the image and the geographical bounds it is tied to.
Creates an object representing a geographical point with the given latitude and longitude.
Creates an object representing a geographical point with the given latitude and longitude.
Creates a LatLngBounds object by defining south-west and north-east corners of the rectangle.
Creates a LatLngBounds object defined by the geographical points it contains. Very useful for zooming the map to fit a particular set of locations with fitBounds.
Create a layer group, optionally given an initial set of layers.
Instantiates a map object given a div element and optionally an object literal with map options described below.
Instantiates a map object given a div element id and optionally an object literal with map options described below.
Instantiates a Marker object given a geographical point and optionally an options object.
Instantiates a multi-polyline object given an array of latlngs arrays (one for each individual polygon) and optionally an options object (the same as for MultiPolyline).
Instantiates a multi-polyline object given an array of arrays of geographical points (one for each individual polyline) and optionally an options object.
This method restores the L global variale to the original value it had before Leaflet inclusion, and returns the real Leaflet namespace.
L
Creates a Point object with the given x and y coordinates. If optional round is set to true, rounds the x and y values.
Instantiates a polygon object given an array of geographical points and optionally an options object (the same as for Polyline). You can also create a polygon with holes by passing an array of arrays of latlngs, with the first latlngs array representing the exterior ring while the remaining represent the holes inside.
Instantiates a polyline object given an array of geographical points and optionally an options object.
Instantiates a Popup object given an optional options object that describes its appearance and location and an optional object that is used to tag the popup with a reference to the source object to which it refers.
Instantiates a rectangle object with the given geographical bounds and optionally an options object.