1ec5 created an issue (openstreetmap/openstreetmap-website#6368)

Currently, the directions panel’s origin and destination fields allow the user 
to input a Nominatim query, but pressing Enter simply resolves to the top 
result; the user never gets a chance to choose any other results. A typical 
directions interface would pop open a minimalistic list of search results (such 
as what the browser would provide with a 
[`<datalist>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/datalist))
 for the user to choose from. The 
[Valhalla](https://valhalla.openstreetmap.de/) and 
[Openrouteservice](https://maps.openrouteservice.org/) demo applications 
already have this functionality. Since Nominatim doesn’t provide autocompletion 
out of the box, this list would only show up when pressing Enter if there are 
multiple results.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6368
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to