AvoidOptions
data class AvoidOptions(val avoidTypes: Set<AvoidType> = emptySet(), val vignettes: Vignettes? = null, val avoidAreas: Set<GeoBoundingBox> = emptySet())
Specifies avoidance criteria.
Important: This is a Public Preview API. It may be changed or removed at any time.
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
fun AvoidOptions(avoidTypes: Set<AvoidType> = emptySet(), vignettes: Vignettes? = null, avoidAreas: Set<GeoBoundingBox> = emptySet())