X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/77e91beba1b03da718e32b771eb4f23d30d83483..61aecd32a458ff57075938b855da0e0efa03b9dc:/app/assets/javascripts/index/directions/graphhopper.js?ds=sidebyside diff --git a/app/assets/javascripts/index/directions/graphhopper.js b/app/assets/javascripts/index/directions/graphhopper.js index 9a09c1009..e72f6d75f 100644 --- a/app/assets/javascripts/index/directions/graphhopper.js +++ b/app/assets/javascripts/index/directions/graphhopper.js @@ -9,12 +9,17 @@ 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 { id: id, - creditline: "Graphhopper", + creditline: "GraphHopper", draggable: false, getRoute: function (points, callback) {