turn_costs=true only for car
I know there was a bit forth and back in #2695 and my last recommendation was to use turn_costs=true. This was not intended for bike and foot.
This commit is contained in:
parent
44c45b1fcd
commit
5444506976
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ function GraphHopperEngine(id, vehicleType) {
|
|||
key: "LijBPDQGfu7Iiq80w3HzwB4RUDJbMbhs6BU0dEnn",
|
||||
elevation: false,
|
||||
instructions: true,
|
||||
turn_costs: true,
|
||||
turn_costs: vehicleType === "car",
|
||||
point: points.map(function (p) { return p.lat + "," + p.lng; })
|
||||
},
|
||||
traditional: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue