Adds the overlay to the map.
Brings the layer to the bottom of all overlays.
Brings the layer to the top of all overlays.
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).
Sets the opacity of the overlay.
Changes the URL of the image.
You can also use the following shortcut when you just need to make one additional method call.
You use L.Class.extend to define new classes, but you can use the same method on any class to inherit from it.
Instantiates an image overlay object given the URL of the image and the geographical bounds it is tied to.