minDeviationDistance

fun minDeviationDistance(minDeviationDistance: Int): RoutingOptions.Builder

All alternative routes returned will follow the reference route from the origin point of the calculateRoute Request for at least this number of meters. This can only be used when reconstructing a route. The minDeviationDistance parameter cannot be used in conjunction with arriveAt.

Important: This is a Public Preview API. It may be changed or removed at any time.