sdk-routing / com.tomtom.online.sdk.routing.ev / RouteDescriptor / Builder / allowVignettes

allowVignettes

fun allowVignettes(allowVignettes: List<String>): RouteDescriptor.Builder

Specifies countries in which all toll roads and vignettes will be allowed. Specifying allowVignettes with some countries X is equivalent to specifying avoidVignettes with all countries but X. Specifying allowVignettes with an empty list is the same as avoiding all toll roads with vignettes. Note: It is an error to specify both avoidVignettes and allowVignettes.

Return
The builder of the query with a new list of country codes to be allowed.