]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions/graphhopper.js
Fallback to english locale when looking for community index templates
[rails.git] / app / assets / javascripts / index / directions / graphhopper.js
index 11d600316db8e5ddb978dc6d8011223f947d0c9a..e72f6d75f32528682ca816bbcc90003fa5e28c31 100644 (file)
@@ -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 {