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.
key: "LijBPDQGfu7Iiq80w3HzwB4RUDJbMbhs6BU0dEnn",
elevation: false,
instructions: true,
key: "LijBPDQGfu7Iiq80w3HzwB4RUDJbMbhs6BU0dEnn",
elevation: false,
instructions: true,
+ turn_costs: vehicleType === "car",
point: points.map(function (p) { return p.lat + "," + p.lng; })
},
traditional: true,
point: points.map(function (p) { return p.lat + "," + p.lng; })
},
traditional: true,