RouteMatrixAvoidanceOptions
Specifies options for areas to avoid when calculating the route. This is a best-effort avoidance setting, meaning the router will try to honor the avoidance preferences but may still include restricted areas if no feasible alternative route exists. If avoidance options are not followed, the response will indicate that the avoidance criteria were violated.
Types
Properties
Link copied to clipboard
Areas to be avoided.
Link copied to clipboard
Avoid car-shuttle-trains while calculating the route.
Link copied to clipboard
Avoid controlled access highways while calculating the route.
Link copied to clipboard
Avoids roads where the specified toll transponders are the only mode of payment.
Link copied to clipboard
Truck road type identifiers. BK1
through BK4
apply only to Sweden. A2,A4,B2,B4,C,D,ET2,ET4
apply only to Mexico.
Link copied to clipboard
Zone categories to be avoided.
Functions
Link copied to clipboard
inline fun copy(block: RouteMatrixAvoidanceOptions.Builder.() -> Unit = {}): RouteMatrixAvoidanceOptions