smeijer / leaflet-geosearch

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

Issue with the Autocomplete Addresses in Seattle #358

Open marishuman opened 1 year ago

marishuman commented 1 year ago

Description

When the location of a laptop is set to Seattle and "Filipino Community Center" is entered into the demo search bar, an autocomplete address shows up as: "Filipino Community Center, Martin Luther King Junior Way South, NewHolly, Rainier Valley, Seattle, King County, Washington, 98118, United States". The map does not search for the address when the autocompleted address is clicked. However, it does search when the "New Holly" neighborhood is deleted. Notice the bolded part of the address shows two different neighborhoods and that the error has only been observed in Seattle. This error is also in my own project where I use the leaflet-geosearch library.

Another developer in Taiwan noticed the autocompleted address was as follows: "Filipino Community Center, Martin Luther King Junior Way South, Rainier Valley, Seattle, King County, Washington, 98118, United States". The difference between the two addresses is that the neighborhood NewHolly was not present in the address. She also showed there was no error when the autocompleted address was clicked and the address was searched as it should.

Screenshots

Getting the autocompleted address: image

The autocompleted address does not search: image

The autocompleted address searches when the neighborhood "New Holly" is deleted: image