graphhopper/graphhopper-maps

provide possibility showing all restaurants, parks or similar

Opened this issue · 0 comments

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.