sdk-routing / com.tomtom.online.sdk.routing.route / RouteCalculationDescriptor / Builder / minDeviationDistance

minDeviationDistance

fun minDeviationDistance(minDeviationDistance: Int): RouteCalculationDescriptor.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.