[openstreetmap/openstreetmap-website] Let the user select search results from the origin and destination fields (Issue #6368)

Minh Nguyễn notifications at github.com
Sat Aug 30 20:16:40 UTC 2025


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/6368 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250830/0a51ef44/attachment.htm>


More information about the rails-dev mailing list