AvoidOptions
data class AvoidOptions(val avoidTypes: Set<AvoidType> = emptySet(), val avoidAreas: Set<GeoBoundingBox> = emptySet(), val vignettes: Vignettes? = null)
Specifies avoidance criteria.
Note: The parameter vignettes is not supported with the Orbis map.
Parameters
avoidTypes
A set of road types and travel modes to avoid.
vignettes
Either Vignettes.Allow or Vignettes.Avoid to specify in which countries toll roads may be taken.
avoidAreas
A set of bounding boxes to avoid.
Constructors
Link copied to clipboard
constructor(avoidTypes: Set<AvoidType> = emptySet(), avoidAreas: Set<GeoBoundingBox> = emptySet(), vignettes: Vignettes? = null)