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:
parent
9f993fe8c8
commit
85cb71702e
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue