diff --git a/reference.html b/reference.html index fae3b197..aef5bee8 100644 --- a/reference.html +++ b/reference.html @@ -886,7 +886,7 @@ var map = L.map('map', {
openPopup(
- <String> html | <HTMLElement> el,
+ <String> html | <HTMLElement> el ,
<LatLng> latlng ,
<Popup options> options? )
this
getRenderer(
<Layer> layer)
createPane(
- <String> name, <HTMLElement> contianer?
+ <String> name, <HTMLElement> container?
)
MapPane
MapPane
.leaflet-pane-name
"getPane(
- <String> name
+ <String> name
)
MapPane
MapPane
paddingTopLeft
Point
[0, 0]
+ [0, 0]
Sets the amount of padding in the top left corner of a map container that shouldn't be accounted for when setting the view to fit bounds. Useful if you have some control overlays on the map like a sidebar and you don't want them to obscure objects you're zooming to.
paddingBottomRight
Point
[0, 0]
+ [0, 0]
The same for bottom right corner of the map.
padding
Point
[0, 0]
+ [0, 0]
Equivalent of setting both top left and bottom right padding to the same value.
autoPanPaddingTopLeft
Point
null
autoPanPaddingBottomRight
Point
null
L.tileLayer.wms(
<String> baseUrl ,
<TileLayer.WMS options> options )
-
+
A class for drawing circle overlays on a map. Extends CircleMarker. Use Map#addLayer to add it to the map.
-L.circle([50.5, 30.5], 200).addTo(map);
+L.circle([50.5, 30.5], 200).addTo(map);
position
String
'topleft'
'topleft'
zoomInText
String
'+'
'+'
zoomOutText
String
'-'
'-'
zoomInTitle
String
'Zoom in'
'Zoom in'
zoomOutTitle
String
'Zoom out'
'Zoom out'
position
String
'bottomright'
'bottomright'
prefix
String
'Leaflet'
'Leaflet'
false
to disable.position
String
'topright'
'topright'
position
String
'bottomleft'
'bottomleft'
this
off()
clearAllEventListeners()
this
off()
.off()
.hasEventListeners( … )
fn
with the given scope obj
(so that this
keyword refers to obj
inside the function code). The arguments received by the bound function will be any arguments passed when binding the function, followed by any arguments passed when invoking the bound function. Has an L.bind
shortcut. Works exactly like Function.prototype.bind
in modern browsers compliant with ECMAScript 5.stamp( <Object> obj )
stamp( <Object> obj )
String
L.stamp
shortcut.String[]
setOptions(
@@ -5297,7 +5296,7 @@ Popups will also be automatically opened when the layer is clicked on and closed
this
addListener(
<HTMLElement> el ,
@@ -5338,8 +5337,7 @@ Popups will also be automatically opened when the layer is clicked on and closed
this
href
of the a
element, or doing a POST
request with page reload when form
is submitted). Use it inside listener functions.
- href
of the a
element, or doing a POST
request with page reload when form
is submitted). Use it inside listener functions.stop(
@@ -6180,7 +6178,7 @@ map.addControl(new MyControl());
position
String
- 'topright'
+ 'topright'
The initial position of the control (one of the map corners). See control positions.