]> git.openstreetmap.org Git - rails.git/commitdiff
Show fork icons for GraphHopper keep right/left instructions
authorAnton Khorev <tony29@yandex.ru>
Wed, 12 Jun 2024 14:31:02 +0000 (17:31 +0300)
committerAnton Khorev <tony29@yandex.ru>
Wed, 12 Jun 2024 14:31:02 +0000 (17:31 +0300)
app/assets/javascripts/index/directions/graphhopper.js

index 11d600316db8e5ddb978dc6d8011223f947d0c9a..7dfe4730bf98cd92de4a23b658724a3f6f868611 100644 (file)
@@ -9,7 +9,9 @@ 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
   };
 
   return {