leaflet-geosearch icon indicating copy to clipboard operation
leaflet-geosearch copied to clipboard

geosearch returns incorrect bounds sometimes

Open koskinpark opened this issue 1 year ago • 1 comments

Open https://smeijer.github.io/leaflet-geosearch/providers/openstreetmap Type "France" in the search bar -> select France in autocomplete

This is what you will see:

Снимок экрана 2024-01-26 в 18 00 30

koskinpark avatar Jan 26 '24 12:01 koskinpark

I don't think the javascript library can do anything about that. You'd need an issue with the underlying API which returns the data.

France has territories around the world. https://en.wikipedia.org/wiki/Overseas_France It's still unexpected, but geographically correct. What most people expect is Metropolitan France https://www.openstreetmap.org/relation/1403916

mtmail avatar Jan 26 '24 12:01 mtmail