Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide possibility showing all restaurants, parks or similar #352

Open
karussell opened this issue Aug 24, 2023 · 0 comments
Open

provide possibility showing all restaurants, parks or similar #352

karussell opened this issue Aug 24, 2023 · 0 comments
Labels
feature request Requests for new features that won't necessarily be realized

Comments

@karussell
Copy link
Member

karussell commented Aug 24, 2023

We just deployed a new version of photon which now supports tag filters for reverse geocoding and allows us to fetch e.g. all nearby restaurants:

https://graphhopper.com/api/1/geocode?osm_tag=amenity:restaurant&point=51.438903,14.244601&radius=2&reverse=true&key=...

Not sure how the UI should look like. Should we use a simple key:value query schema?

qwant is doing it like this:

image

google:

image

... and once one of these icons is clicked we could just use the raw query like amenity:restaurant in the input field. I.e. the colon would then make the text special but ignore it if no coordinate is provided (?) Tricky.

@karussell karussell added the feature request Requests for new features that won't necessarily be realized label Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new features that won't necessarily be realized
Projects
None yet
Development

No branches or pull requests

1 participant