L.Class powers the OOP facilities of Leaflet and is used to create almost all of the Leaflet classes documented.
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.
Adds the popup to the map.
Should contain code that creates DOM elements for the overlay, adds them to map panes where they should belong and puts listeners on relevant map events. Called on map.addLayer(layer).
Should contain all clean up code that removes the overlay's elements from the DOM and removes listeners previously added in onAdd. Called on map.removeLayer(layer).
Adds the popup to the map and closes the previous one. The same as map.openPopup(popup).
Sets the HTML content of the popup.
Sets the HTML content of the popup.
Sets the geographical point where the popup will open.