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

withMaxAlternatives

fun withMaxAlternatives(maxAlternatives: Int): RouteQueryBuilder

Overrides IRouteQuery.withMaxAlternatives

Specifies the maximal number of route alternatives to be calculated by the service.