[openstreetmap/openstreetmap-website] Add demo links for routing engine directions Fixes #6387 (PR #6693)
Areeb Siddiqui
notifications at github.com
Sat Jan 10 11:15:54 UTC 2026
SykoDaedalus left a comment (openstreetmap/openstreetmap-website#6693)
Add DEMO_PARAMS mapping and refactor metadata handling
- Added `DEMO_PARAMS` constants to handle parameter differences between routing
APIs and demo URLs (e.g., Valhalla API uses "auto" vs demo URL uses "car")
- Moved credit and demolink generation out of `_processDirections` to separate
route processing logic from metadata
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6693#issuecomment-3732471137
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6693/c3732471137 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260110/48469093/attachment-0001.htm>
More information about the rails-dev
mailing list