AvoidOptions
public struct AvoidOptions
Specifies avoidance criteria.
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Parameters
avoidsA set of road types and travel modes to avoid.
vignetteEither .avoidVignette or .allowVignette to specify in which countries toll roads that require vignettes may be taken.
avoidAreasA set of bounding boxes to avoid.
-
A set of road types and travel modes to avoid.
Declaration
Swift
public var avoids: Set<AvoidType> -
Either .avoidVignette or .allowVignette to specify in which countries toll roads that require vignettes may be taken.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var vignette: Vignette? -
A set of bounding boxes to avoid.
Declaration
Swift
public var avoidAreas: Set<BoundingBox>
AvoidOptions Structure Reference