diff --git a/reference.html b/reference.html index 55c5894b..539b766b 100644 --- a/reference.html +++ b/reference.html @@ -435,6 +435,15 @@ map.addLayer(cloudmade); ErrorEvent Fired when geolocation (using locate or locateAndSetView method) failed. + + popupopen + PopupEvent + Fired when a popup is opened (using openPopup method). + + + popupclose + PopupEvent + Fired when a popup is closed (using closePopup method). @@ -958,8 +967,8 @@ map.openPopup(popup); Description - L.Popup( <Popup optionsoptions? ) - Instantiates a Popup object given the geographical point where it will open, the HTML content it will have and optionally an options object. + L.Popup( <Popup optionsoptions?, <object> source? ) + 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. @@ -2494,6 +2503,20 @@ var marker = new L.Marker(marker, {icon: icon}); + + + + + + + + + + + + + +
propertytypedescription
popupPopupThe popup that was opened or closed.