From 8df1212b59748341295da8d5bb08b4045dc59ad7 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 30 Sep 2015 17:22:27 +0100 Subject: [PATCH] Scale total distance to metres for Mapzen --- app/assets/javascripts/index/directions/mapzen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/index/directions/mapzen.js b/app/assets/javascripts/index/directions/mapzen.js index 3c2aaff8c..915e665f5 100644 --- a/app/assets/javascripts/index/directions/mapzen.js +++ b/app/assets/javascripts/index/directions/mapzen.js @@ -87,7 +87,7 @@ function MapzenEngine(id, costing) { callback(false, { line: line, steps: steps, - distance: distance, + distance: distance * 1000, time: time }); } else { -- 2.39.5