diff --git a/reference.html b/reference.html index 07b0a6ae..f61d14fe 100644 --- a/reference.html +++ b/reference.html @@ -1229,6 +1229,16 @@ var map = L.map('map', {
Event
popupopen
PopupEvent
popupclose
PopupEvent
this
togglePopup()
this
setPopupContent(
<String> html | <HTMLElement> el,
@@ -1421,6 +1436,12 @@ var map = L.map('map', {
true
Set it to false
if you don't want the map to do panning animation to fit the opened popup.
keepInView
Boolean
false
true
if you want to prevent users from panning the popup off of the screen while it is open.closeButton
Boolean
true
closeOnClick
Boolean
null
false
if you want to override the default behavior of the popup closing when user clicks the map (set globally by the Map
closePopupOnClick
option).getContainer()
this
HTMLElement
'1.1.1'
crs
CRS
null
Event
popupopen
PopupEvent
popupclose
PopupEvent
coordsToLatLng(
+ <Array> coords )
+
[longitude, latitude]
values in degrees).this
getContainer()
HTMLElement
You can subscribe to the following events on the map object using these methods.
+You can subscribe to the following events on the Map object using these methods.
baselayerchange |
- LayerEvent
+ | LayersControlEvent
| Fired when the base layer is changed through the control. |
overlayadd |
- LayerEvent
+ | LayersControlEvent
| Fired when an overlay is selected through the control. |
overlayremove |
- LayerEvent
+ | LayersControlEvent
| Fired when an overlay is deselected through the control. |
property | +type | +description | +
---|---|---|
layer |
+ ILayer |
+ The layer that was added or removed. | +
layer |
+ ILayer |
+ The name of the layer that was added or removed. | +