jupyter-widgets / ipyleaflet

A Jupyter - Leaflet.js bridge
https://ipyleaflet.readthedocs.io
MIT License
1.49k stars 365 forks source link

Remove marker after search with SearchControl #1110

Open paoloalba opened 1 year ago

paoloalba commented 1 year ago

is there a way to remove the marker created through a successful search, without having to refresh the whole map? The market can be dragged, and I can perform a new search, but I do not see any option to clear it from the map.