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/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev