X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9f993fe8c8be4664f975df426d69ded1dca77ae3..85cb71702e663d0588e6e4db86f10cec0eeaf993:/app/assets/javascripts/index/directions/graphhopper.js diff --git a/app/assets/javascripts/index/directions/graphhopper.js b/app/assets/javascripts/index/directions/graphhopper.js index 6bd430c06..0a593f59b 100644 --- a/app/assets/javascripts/index/directions/graphhopper.js +++ b/app/assets/javascripts/index/directions/graphhopper.js @@ -29,6 +29,7 @@ function GraphHopperEngine(id, vehicleType) { "ch.disable": vehicleType === "car", "elevation": false, "instructions": true, + "turn_costs": true, "point": points.map(function (p) { return p.lat + "," + p.lng; }) }, traditional: true,