X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/783b5e3729228908d7404ae7404af1023501a906..2898633e72e8aa2efbcd6012a936ebab5ab58a56:/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..2462d1d30 100644 --- a/app/assets/javascripts/index/directions/graphhopper.js +++ b/app/assets/javascripts/index/directions/graphhopper.js @@ -26,9 +26,9 @@ function GraphHopperEngine(id, vehicleType) { "vehicle": vehicleType, "locale": I18n.currentLocale(), "key": "LijBPDQGfu7Iiq80w3HzwB4RUDJbMbhs6BU0dEnn", - "ch.disable": vehicleType === "car", "elevation": false, "instructions": true, + "turn_costs": true, "point": points.map(function (p) { return p.lat + "," + p.lng; }) }, traditional: true,