avoidType

fun avoidType(avoidTypes: List<AvoidType>): RoutingOptions.Builder

Specifies something that the route calculation should try to avoid when determining the route.

Important: This is a Public Preview API. It may be changed or removed at any time.

Return

The builder of the query with a new value of the AvoidType.