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

withComputeBestOrder

fun withComputeBestOrder(computeBestOrder: Boolean): RouteQueryBuilder

Overrides IRouteQuery.withComputeBestOrder

Specifies if the best order of waypoints should be used to compute route. For example, if the maximum allowed number of waypoints is 50, then it might be reduced to 20 in better order.