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

withMinDeviationDistance

@NonNull abstract fun withMinDeviationDistance(minDeviationDistance: Int!): IRouteQuery

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.

Parameters

minDeviationDistance - Int!:

Return
IRouteQuery: The route query.