[openstreetmap/openstreetmap-website] Limit number of directions endpoint geocoding results to 1 (PR #5962)

Anton Khorev notifications at github.com
Tue Apr 29 00:18:01 UTC 2025


Geocoding for route endpoints requests the default number of results, which is 10, but only uses the first one.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5962

-- Commit Summary --

  * Limit number of directions endpoint geocoding results to 1

-- File Changes --

    M app/assets/javascripts/index/directions-endpoint.js (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5962.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5962.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/5962 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250428/45beb23b/attachment.htm>


More information about the rails-dev mailing list