]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions/graphhopper.js
Drop ch.disable from graphhopper parameters
[rails.git] / app / assets / javascripts / index / directions / graphhopper.js
index 6bd430c06021612ccb086a8b58b6c14f97a9d6af..2462d1d3024b263ad3d05bd84be001b40334f6c5 100644 (file)
@@ -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,