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

withAlternativeType

fun withAlternativeType(alternativeType: AlternativeType): RouteQueryBuilder

Overrides IRouteQuery.withAlternativeType

Controls the optimality with respect to the given planning criteria of the calculated alternatives compared to the reference route.