Tuen on turn restriction support for graphhopper

No way of actually testing if this works, but it is based on https://docs.graphhopper.com/#operation/getRoute/parameters/point and https://www.graphhopper.com/blog/2020/07/08/turn-restriction-support-for-graphhoppers-directions-api/
This commit is contained in:
Simon Poole 2020-07-08 16:04:11 +02:00 committed by GitHub
parent 9f993fe8c8
commit 85cb71702e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,7 @@ function GraphHopperEngine(id, vehicleType) {
"ch.disable": vehicleType === "car",
"elevation": false,
"instructions": true,
"turn_costs": true,
"point": points.map(function (p) { return p.lat + "," + p.lng; })
},
traditional: true,