RouteOptions

class RouteOptions(val avoidHighways: Boolean, val avoidTolls: Boolean, val avoidFerries: Boolean, val avoidUnpavedRoads: Boolean, val includeHov2: Boolean, val includeHov3: Boolean, val suppressVoiceInstructionLocalNames: Boolean)

Configuration options for route calculation.

Constructors

Link copied to clipboard
constructor(avoidHighways: Boolean, avoidTolls: Boolean, avoidFerries: Boolean, avoidUnpavedRoads: Boolean, includeHov2: Boolean, includeHov3: Boolean, suppressVoiceInstructionLocalNames: Boolean)

Properties

Link copied to clipboard

If true, the route should avoid ferries.

Link copied to clipboard

If true, the route should avoid highways.

Link copied to clipboard

If true, the route should avoid toll roads.

Link copied to clipboard

If true, the route should avoid unpaved roads.

Link copied to clipboard

If true, allows use of HOV2 lanes (2+ occupants).

Link copied to clipboard

If true, allows use of HOV3 lanes (3+ occupants).

Link copied to clipboard

If true, local names will be suppressed in voice instructions.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String