X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/392b68a65fd6ffa521b89e079b234bb0241380d3..4afedb07a26f8e9da05697b4e26ff52ef1fe55fb:/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 7a5d77d9b..4bb4e4ed6 100644 --- a/app/assets/javascripts/index/directions/graphhopper.js +++ b/app/assets/javascripts/index/directions/graphhopper.js @@ -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 () {