From 2f816ef5a58a850e4251be2004acd6a06b0df091 Mon Sep 17 00:00:00 2001 From: Andy Chosak Date: Fri, 25 Nov 2011 22:21:42 -0500 Subject: [PATCH] Doc updates for master pull request #373. --- reference.html | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) 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.