onAdd

open val onAdd: (map: LeafletMap) -> HTMLElement?(source)

Should return the container DOM element for the control and add listeners on relevant map events. Called on addTo