AvoidType

enum AvoidType : Enum<AvoidType>

Defines what kind of roads should be avoided while calculating a route.

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

Entries

Link copied to clipboard

Avoids car trains.

Link copied to clipboard

Avoids tunnels.

Link copied to clipboard

Avoids crossing country borders.

Link copied to clipboard

Avoids using the same road multiple times.

Link copied to clipboard

Avoids routes that require the use of carpool (HOV/High Occupancy Vehicle) lanes.

Link copied to clipboard

Avoids unpaved roads.

Link copied to clipboard

Avoids ferries.

Link copied to clipboard

Avoids motorways.

Link copied to clipboard

Avoids toll roads.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int