Disable automatic heading in batch Direction API

When calculating a route between multiple stops, then the heading (the direction in which the vehicle points) is set automatically. Sometimes this results in strange routes (e.g. 5km longer route just to avoid a u-turn). Is is possible to disable this automatic heading?
(I know that a possible way to solve this issue would be to split up the batch in seperate API calls but I would still like to do it with one batch)

There is no default value for heading param. Maybe your coordinates are pointing closer to a lane that is heading in opposite direction?

1 Like