RouteAvoid

annotation class RouteAvoid

Shows values describing routing options that can be used to enforce special conditions on a calculated route. Please note, that all of them can be only used with car transport mode.

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String

Properties

Link copied to clipboard
val BoatFerry: Int = 1
Routing will avoid links that are part of a ferry.
Link copied to clipboard
val Country: Int = 6
Routing will avoid links that are part of an specified country
Link copied to clipboard
val Highway: Int = 3
Routing will avoid links that are part of a highway.
Link copied to clipboard
val SpecialArea: Int = 5
Routing will avoid links that are part of an special area.
Link copied to clipboard
val TollRoad: Int = 4
Routing will avoid links that are part of a toll road.
Link copied to clipboard
val Unknown: Int = 0
Unknown routing option
Link copied to clipboard
val UnpavedRoad: Int = 2
Routing will avoid links that are part of an unpaved roads.