[openstreetmap/openstreetmap-website] Refactor distance unit handling in directions output (PR #7183)

Marwin Hochfelsner notifications at github.com
Thu Jun 25 19:44:31 UTC 2026


I've played around a bit in the directions module scope, where a few functions can be collected in a class.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Refactor distance unit handling in directions output

-- File Changes --

    M app/assets/javascripts/index_modules/directions/route-output.js (176)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/7183 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260625/876bf770/attachment.htm>


More information about the rails-dev mailing list