smeijer / leaflet-geosearch

A geocoding/address-lookup library supporting various api providers.
https://smeijer.github.io/leaflet-geosearch/
MIT License
1.03k stars 273 forks source link

fix: leaflet map handlers weren't restored properly #224

Closed smeijer closed 4 years ago

smeijer commented 4 years ago

For historical reasons, we had our own way to stop event propagation to leaflet. However, things have changed and after the v3 release, click handlers weren't properly restored.

Besides, the custom propagation handlers are no longer required. I've removed those, and added a few leaflet methods to stop propagation instead.


fixes #223