]> git.openstreetmap.org Git - rails.git/commit
Add demo links for routing engine directions
authorAreeb <011235813phantom@gmail.com>
Fri, 16 Jan 2026 17:17:01 +0000 (22:47 +0530)
committerAreeb <011235813phantom@gmail.com>
Fri, 16 Jan 2026 17:17:01 +0000 (22:47 +0530)
commit0bf889bea885b1edc0ce8e4adb296b3f0389ad14
treef8093846dcc44e4b39f93cf43a3172a273d412a6
parent8c1c27d9d478b5a849dfdd1aeaa1ad4d25107567
Add demo links for routing engine directions

- Extend the routes variable to include the selected routing mode and routing engine
- Generate routing engine demo URLs using URLSearchParams with engine-specific parameters
- Add a demo link to the directions view so routes can be opened in external routing engine demos
app/assets/javascripts/index/directions-route-output.js
app/assets/javascripts/index/directions/fossgis_osrm.js
app/assets/javascripts/index/directions/fossgis_valhalla.js
app/assets/javascripts/index/directions/graphhopper.js
app/views/directions/show.html.erb
config/locales/en.yml