diff --git a/reference.html b/reference.html index 496d72a1..14a9eb50 100644 --- a/reference.html +++ b/reference.html @@ -958,7 +958,7 @@ var map = L.map('map', {

Other Methods

- +
@@ -969,12 +969,12 @@ var map = L.map('map', { - + - + @@ -985,7 +985,7 @@ var map = L.map('map', {

Locate options

-
Method ReturnsHTMLElement Returns the container element of the map.
getPanes() MapPanes Returns an object with different map panes (to render overlays in).
whenReady( <Function> fn, <Object> context? )
+
@@ -1033,7 +1033,7 @@ var map = L.map('map', {

Zoom/pan options

-
Option Type
+
@@ -1068,7 +1068,7 @@ var map = L.map('map', {

Pan options

-
Option Type
+
@@ -1103,7 +1103,7 @@ var map = L.map('map', {

Zoom options

-
Option Type
+
@@ -1122,7 +1122,7 @@ var map = L.map('map', {

The same as zoom/pan options and additionally:

-
Option Type
+
@@ -1160,7 +1160,7 @@ var map = L.map('map', {
map.attributionControl.addAttribution("Earthquake data &copy; GeoNames");
-
Option Type
+
@@ -1218,7 +1218,7 @@ var map = L.map('map', {

An object literal (returned by map.getPanes) that contains different map panes that you can use to put your custom overlays in. The difference is mostly in zIndex order that such overlays get.

-
Property Type
+
@@ -1270,7 +1270,7 @@ var map = L.map('map', {

Constructor

-
Property Type
+
@@ -1293,7 +1293,7 @@ var map = L.map('map', {

Options

-
Constructor Usage
+
@@ -1360,7 +1360,7 @@ var map = L.map('map', {

You can subscribe to the following events using these methods.

-
Option Type
+
@@ -1435,7 +1435,7 @@ var map = L.map('map', {

Methods

-
Event Data
+
@@ -1543,7 +1543,7 @@ var map = L.map('map', {
marker.dragging.disable();
-
Method Returns
+
@@ -1574,7 +1574,7 @@ var map = L.map('map', {

Constructor

-
Property Type
+
@@ -1597,7 +1597,7 @@ var map = L.map('map', { -
Constructor Usage
+
@@ -1670,7 +1670,7 @@ var map = L.map('map', {

Methods

-
Option Type
+
@@ -1725,7 +1725,7 @@ var map = L.map('map', {

Constructor

-
Method Returns
+
@@ -1760,7 +1760,7 @@ var map = L.map('map', {

Options

-
Constructor Usage
+
@@ -1875,7 +1875,7 @@ var map = L.map('map', {

You can subscribe to the following events using these methods.

-
Option Type
+
@@ -1905,7 +1905,7 @@ var map = L.map('map', {

Methods

-
Event Data
+
@@ -1982,7 +1982,7 @@ var map = L.map('map', {

Constructor

-
Method Returns
+
@@ -2007,7 +2007,7 @@ var map = L.map('map', {

Includes all TileLayer options and additionally:

-
Constructor Usage
+
@@ -2054,7 +2054,7 @@ var map = L.map('map', {

Methods

-
Option Type
+
@@ -2086,7 +2086,7 @@ canvasTiles.drawTile = function(canvas, tilePoint, zoom) {

Constructor

-
Method Returns
+
@@ -2105,7 +2105,7 @@ canvasTiles.drawTile = function(canvas, tilePoint, zoom) {
Constructor Usage

Options

- +
@@ -2122,7 +2122,7 @@ canvasTiles.drawTile = function(canvas, tilePoint, zoom) {

Methods

-
Option Type
+
@@ -2158,7 +2158,7 @@ L.imageOverlay(imageUrl, imageBounds).addTo(map);

Constructor

-
Method Returns
+
@@ -2181,7 +2181,7 @@ L.imageOverlay(imageUrl, imageBounds).addTo(map);
Constructor Usage

Options

- +
@@ -2197,7 +2197,7 @@ L.imageOverlay(imageUrl, imageBounds).addTo(map);
Option Type

Methods

- +
@@ -2236,7 +2236,7 @@ L.imageOverlay(imageUrl, imageBounds).addTo(map);

An abstract class that contains options and constants shared between vector overlays (Polygon, Polyline, Circle). Do not use it directly.

Options

-
Method Returns
+
@@ -2309,7 +2309,7 @@ L.imageOverlay(imageUrl, imageBounds).addTo(map);

You can subscribe to the following events using these methods.

-
Option Type
+
@@ -2368,7 +2368,7 @@ L.imageOverlay(imageUrl, imageBounds).addTo(map);
Event Data

Methods

- +
@@ -2450,7 +2450,7 @@ L.imageOverlay(imageUrl, imageBounds).addTo(map);
Method Returns

Static properties

- +
@@ -2497,7 +2497,7 @@ map.fitBounds(polyline.getBounds());

Constructor

-
Constant Type
+
@@ -2522,7 +2522,7 @@ map.fitBounds(polyline.getBounds());

You can use Path options and additionally the following options:

-
Constructor Usage
+
@@ -2547,7 +2547,7 @@ map.fitBounds(polyline.getBounds());

You can use Path methods and additionally the following methods:

-
Option Type
+
@@ -2604,7 +2604,7 @@ map.fitBounds(polyline.getBounds());

Constructor

-
Method Returns
+
@@ -2632,7 +2632,7 @@ map.fitBounds(polyline.getBounds()); have different behavior around their coordinate contents since they can contain multiple line features:

-
Constructor Usage
+
@@ -2671,7 +2671,7 @@ multiple line features:

Constructor

-
Method Returns
+
@@ -2696,7 +2696,7 @@ multiple line features:

Polygon has the same options and methods as Polyline, with the following differences:

-
Constructor Usage
+
@@ -2716,7 +2716,7 @@ multiple line features:

Constructor

-
Method Returns
+
@@ -2743,7 +2743,7 @@ multiple line features:

have different behavior around their coordinate contents since they can contain multiple polygon features:

-
Constructor Usage
+
@@ -2788,7 +2788,7 @@ map.fitBounds(bounds);

Constructor

-
Method Returns
+
@@ -2813,7 +2813,7 @@ map.fitBounds(bounds);

You can use Path methods and additionally the following methods:

-
Constructor Usage
+
@@ -2838,7 +2838,7 @@ map.fitBounds(bounds);

Constructor

-
Method Returns
+
@@ -2862,7 +2862,7 @@ map.fitBounds(bounds);

Methods

-
Constructor Usage
+
@@ -2909,7 +2909,7 @@ map.fitBounds(bounds);

Constructor

-
Method Returns
+
@@ -2932,7 +2932,7 @@ map.fitBounds(bounds);

Methods

-
Constructor Usage
+
@@ -2973,7 +2973,7 @@ map.fitBounds(bounds);

Constructor

-
Method Returns
+
@@ -2995,7 +2995,7 @@ map.fitBounds(bounds);

Methods

-
Constructor Usage
+
@@ -3091,7 +3091,7 @@ map.fitBounds(bounds);

Constructor

-
Method Returns
+
@@ -3115,7 +3115,7 @@ map.fitBounds(bounds);

Has all LayerGroup methods and additionally:

-
Constructor Usage
+
@@ -3158,7 +3158,7 @@ map.fitBounds(bounds);

You can subscribe to the following events using these methods.

-
Method Returns
+
@@ -3224,7 +3224,7 @@ map.fitBounds(bounds);

Constructor

-
Event Data
+
@@ -3247,7 +3247,7 @@ map.fitBounds(bounds);

Options

-
Constructor Usage
+
@@ -3295,7 +3295,7 @@ map.fitBounds(bounds);

Methods

-
Option Description
+
@@ -3329,7 +3329,7 @@ map.fitBounds(bounds);

Static methods

-
Method Returns
+
@@ -3382,7 +3382,7 @@ map.panTo(new L.LatLng(50, 30));

Constructor

-
Method Returns
+
@@ -3406,7 +3406,7 @@ map.panTo(new L.LatLng(50, 30));

Properties

-
Constructor Usage
+
@@ -3426,7 +3426,7 @@ map.panTo(new L.LatLng(50, 30));

Methods

-
Property Type
+
@@ -3466,7 +3466,7 @@ map.panTo(new L.LatLng(50, 30));

Constants

-
Method Returns
+
@@ -3512,7 +3512,7 @@ map.panTo(new L.LatLng(50, 30));

Constructor

-
Constant Type
+
@@ -3547,7 +3547,7 @@ map.panTo(new L.LatLng(50, 30));

Methods

-
Constructor Usage
+
@@ -3676,7 +3676,7 @@ map.panBy(new L.Point(200, 300));

Constructor

-
Method Returns
+
@@ -3700,7 +3700,7 @@ map.panBy(new L.Point(200, 300));

Properties

-
Constructor Usage
+
@@ -3720,7 +3720,7 @@ map.panBy(new L.Point(200, 300));

Methods

-
Property Type
+
@@ -3807,7 +3807,7 @@ map.panBy(new L.Point(200, 300));

Constructor

-
Method Returns
+
@@ -3843,7 +3843,7 @@ map.panBy(new L.Point(200, 300));

Properties

-
Constructor Usage
+
@@ -3863,7 +3863,7 @@ map.panBy(new L.Point(200, 300));

Methods

-
Property Type
+
@@ -3943,7 +3943,7 @@ L.marker([50.505, 30.57], {icon: myIcon}).addTo(map);

Constructor

-
Method Returns
+
@@ -3965,7 +3965,7 @@ L.marker([50.505, 30.57], {icon: myIcon}).addTo(map);

Options

-
Constructor Usage
+
@@ -4037,7 +4037,7 @@ L.marker([50.505, 30.57], {icon: myIcon}).addTo(map);

Constructor

-
Option Type
+
@@ -4059,7 +4059,7 @@ L.marker([50.505, 30.57], {icon: myIcon}).addTo(map);

Options

-
Constructor Usage
+
@@ -4099,7 +4099,7 @@ L.marker([50.505, 30.57], {icon: myIcon}).addTo(map); map.addControl(control);

Constructor

-
Option Type
+
@@ -4120,7 +4120,7 @@ map.addControl(control);
Constructor Usage

Options

- +
@@ -4136,7 +4136,7 @@ map.addControl(control);
Option Type

Methods

- +
@@ -4182,7 +4182,7 @@ map.addControl(control);

Control positions (map corner to put a control to) are set using strings. Margins between controls and the map border are set with CSS, so that you can easily override them.

-
Method Returns
+
@@ -4211,7 +4211,7 @@ map.addControl(control);

A basic zoom control with two buttons (zoom in and zoom out). It is put on the map by default unless you set its zoomControl option to false. Extends Control.

Constructor

-
Position Description
+
@@ -4232,7 +4232,7 @@ map.addControl(control);
Constructor Usage

Options

- +
@@ -4254,7 +4254,7 @@ map.addControl(control);

The attribution control allows you to display attribution data in a small text box on a map. It is put on the map by default unless you set its attributionControl option to false, and it fetches attribution texts from layers with getAttribution method automatically. Extends Control.

Constructor

-
Option Type
+
@@ -4275,7 +4275,7 @@ map.addControl(control);
Constructor Usage

Options

- +
@@ -4297,7 +4297,7 @@ map.addControl(control);
Option Type

Methods

- +
@@ -4344,7 +4344,7 @@ var overlays = { L.control.layers(baseLayers, overlays).addTo(map);

Constructor

-
Method Returns
+
@@ -4365,7 +4365,7 @@ L.control.layers(baseLayers, overlays).addTo(map);
Constructor Usage

Methods

- +
@@ -4398,7 +4398,7 @@ L.control.layers(baseLayers, overlays).addTo(map);

Options

-
Method Returns
+
@@ -4444,7 +4444,7 @@ L.control.layers(baseLayers, overlays).addTo(map);

You can subscribe to the following events on the Map object using these methods.

-
Option Type
+
@@ -4475,7 +4475,7 @@ L.control.layers(baseLayers, overlays).addTo(map);
L.control.scale().addTo(map);

Constructor

-
Event Data
+
@@ -4497,7 +4497,7 @@ L.control.layers(baseLayers, overlays).addTo(map);

Options

-
Constructor Usage
+
@@ -4556,7 +4556,7 @@ map.on('click', onClick); map.off('click', onClick);

Methods

-
Option Type
+
@@ -4674,7 +4674,7 @@ map.off('click', onClick);

The base event object. All other event objects contain these properties too.

-
Method Returns
+
@@ -4724,7 +4724,7 @@ map.off('click', onClick);

LocationEvent

-
property type
+
@@ -4779,7 +4779,7 @@ map.off('click', onClick);

ErrorEvent

-
property type
+
@@ -4799,7 +4799,7 @@ map.off('click', onClick);

LayerEvent

-
property type
+
@@ -4814,7 +4814,7 @@ map.off('click', onClick);

LayersControlEvent

-
property type
+
@@ -4834,7 +4834,7 @@ map.off('click', onClick);

TileEvent

-
property type
+
@@ -4854,7 +4854,7 @@ map.off('click', onClick);

ResizeEvent

-
property type
+
@@ -4874,7 +4874,7 @@ map.off('click', onClick);

GeoJSON event

-
property type
+
@@ -4904,7 +4904,7 @@ map.off('click', onClick); -
property type
+
@@ -5084,7 +5084,7 @@ L.map('map'); alert('Upgrade your browser, dude!'); } -
property type
+
@@ -5174,7 +5174,7 @@ L.map('map');

Methods

-
property type
+
@@ -5294,7 +5294,7 @@ L.map('map');

Properties

-
Method Returns
+
@@ -5321,7 +5321,7 @@ L.map('map');

Constructor

-
Property Type
+
@@ -5347,7 +5347,7 @@ L.map('map');

Methods

-
Constructor Usage
+
@@ -5382,7 +5382,7 @@ L.map('map');

Methods

-
Method Returns
+
@@ -5441,7 +5441,7 @@ L.map('map');

Methods

-
Method Returns
+
@@ -5468,7 +5468,7 @@ L.map('map');

Methods

-
Method Returns
+
@@ -5560,7 +5560,7 @@ L.map('map');

Methods

-
Method Returns
+
@@ -5698,7 +5698,7 @@ L.map('map');

Properties

-
Method Returns
+
@@ -5729,7 +5729,7 @@ fx.run(el, [300, 500], 0.5);

Constructor

-
Property Type
+
@@ -5748,7 +5748,7 @@ fx.run(el, [300, 500], 0.5);

Methods

-
Constructor Usage
+
@@ -5771,7 +5771,7 @@ fx.run(el, [300, 500], 0.5);

You can subscribe to the following events using these methods.

-
Method Returns
+
@@ -5806,7 +5806,7 @@ draggable.enable();

Constructor

-
Event Data
+
@@ -5831,7 +5831,7 @@ draggable.enable();

You can subscribe to the following events using these methods.

-
Constructor Usage
+
@@ -5861,7 +5861,7 @@ draggable.enable();

Methods

-
Event Data
+
@@ -5909,7 +5909,7 @@ draggable.enable();

IHandler

An interface implemented by interaction handlers.

-
Method Returns
+
@@ -5939,7 +5939,7 @@ draggable.enable();

Methods

-
Method Returns
+
@@ -6020,7 +6020,7 @@ map.addLayer(new MyCustomLayer(latlng));

Every control in Leaflet should extend from Control class and additionally have the following methods:

-
Method Returns
+
@@ -6087,7 +6087,7 @@ map.addControl(new MyControl());

Methods

-
Method Returns
+
@@ -6115,7 +6115,7 @@ map.addControl(new MyControl());

Leaflet comes with a set of already defined projections out of the box:

-
Method Returns
+
@@ -6146,7 +6146,7 @@ map.addControl(new MyControl());

Methods

-
Projection Description
+
@@ -6190,7 +6190,7 @@ map.addControl(new MyControl());

Properties

-
Method Returns
+
@@ -6221,7 +6221,7 @@ map.addControl(new MyControl());

Leaflet comes with a set of already defined CRS to use out of the box:

-
Property Type
+
@@ -6258,7 +6258,7 @@ map.addControl(new MyControl());
<script>L_PREFER_CANVAS = true;</script>
 <script src="leaflet.js"></script>
-
Projection Description
+
@@ -6302,7 +6302,7 @@ for (var i = 0; i < tl; i++) { tds = tables[i].getElementsByTagName('td'), tdl = tds.length; for (var j = 0; j < tdl; j++) { if (tds[j].cellIndex === 0) { - tds[j].id = id + '.' + tds[j].innerText.split('(')[0]; + tds[j].id = id + '-' + tds[j].innerText.split('(')[0].toLowerCase(); } } }
Switch Description