[openstreetmap/openstreetmap-website] Attach routing credit to route (PR #5914)
Marwin Hochfelsner
notifications at github.com
Wed Apr 9 20:18:37 UTC 2025
Much like in the API responses from GraphHopper or Overpass Turbo, this PR adds the credit information to the returned routes, removing the need to pass the `chosenEngine` to the `DirectionsRouteOutput`.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5914
-- Commit Summary --
* Attach routing credit to route
-- File Changes --
M app/assets/javascripts/index/directions-route-output.js (6)
M app/assets/javascripts/index/directions.js (2)
M app/assets/javascripts/index/directions/fossgis_osrm.js (5)
M app/assets/javascripts/index/directions/fossgis_valhalla.js (6)
M app/assets/javascripts/index/directions/graphhopper.js (5)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5914.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5914.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5914
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5914 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250409/cc7e1b2a/attachment.htm>
More information about the rails-dev
mailing list