sdk-routing / com.tomtom.online.sdk.routing.data / RouteQueryBuilder / withMinDeviationDistance

withMinDeviationDistance

fun withMinDeviationDistance(minDeviationDistance: Int): RouteQueryBuilder

Overrides IRouteQuery.withMinDeviationDistance

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.