X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7dbf65c8f372f99876e0b1ec8e1a73e6b5d96de8..bc70cae711fb6947233d6a750cb33f115aa7a01b:/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 11d600316..e72f6d75f 100644 --- a/app/assets/javascripts/index/directions/graphhopper.js +++ b/app/assets/javascripts/index/directions/graphhopper.js @@ -9,7 +9,12 @@ function GraphHopperEngine(id, vehicleType) { "3": 3, // sharp right "4": 14, // finish reached "5": 14, // via reached - "6": 10 // roundabout + "6": 10, // roundabout + "-7": 19, // keep left + "7": 18, // keep right + "-98": 4, // unknown direction u-turn + "-8": 4, // left u-turn + "8": 4 // right u-turn }; return {