AvoidOptions

Specifies avoidance criteria.

Constructors

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
constructor(avoidTypes: Set<AvoidType> = emptySet(), avoidAreas: Set<GeoBoundingBox> = emptySet(), vignettes: Vignettes? = null)

Specifies avoidance criteria.

Properties

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
val avoidAreas: Set<GeoBoundingBox>

Either Vignettes.Allow or Vignettes.Avoid to specify in which countries toll roads may be taken. Note: This option is ignored in range calculation on the Orbis map.

Link copied to clipboard

A set of road types and travel modes to avoid.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
val vignettes: Vignettes?

A set of bounding boxes to avoid. Note: This option is ignored on the Orbis map.

Functions

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
fun component1(): Set<AvoidType>
Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
fun component2(): Set<GeoBoundingBox>
Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
fun component3(): Vignettes?
Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
fun copy(avoidTypes: Set<AvoidType> = this.avoidTypes, avoidAreas: Set<GeoBoundingBox> = this.avoidAreas, vignettes: Vignettes? = this.vignettes): AvoidOptions
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