]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions/graphhopper.js
Ensure invisible_way is actually deleted
[rails.git] / app / assets / javascripts / index / directions / graphhopper.js
index 7a5d77d9bd50eae15c8be46df1cffdf5711553e2..4bb4e4ed6bc160870d50c4ae1e1845c04f42529c 100644 (file)
@@ -66,7 +66,9 @@ function GraphHopperEngine(id, vehicleType) {
             line: line,
             steps: steps,
             distance: path.distance,
-            time: path.time / 1000
+            time: path.time / 1000,
+            ascend: path.ascend,
+            descend: path.descend
           });
         },
         error: function () {