You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://nominatim.openstreetmap.org/ui/search.html is an example installation of the nominatim-ui. You can run it on your local machine easily. yarn dev will auto-reload the pages after every change, see the CONTRIBUTE.md for instructions.
On the nominatim-ui frontend when you click "Structured" on the /search.html page you will see a list of fields, e.g city, state, country.
Goal is to add another field called "amenity". A user should be able to search for amenity=restaurant, city=paris, country=france and receive a list of restaurants as result.
The relevant code is in /src/components/SearchSection.svelte. Since it's the 7th field a lot can probably be copied from the other 6.
Related @osm-search/Nominatim#3054
The text was updated successfully, but these errors were encountered: