CarRouteSearchOptions
Route search parameters in a passenger car.
public init(
avoidTollRoads: Bool = false,
avoidUnpavedRoads: Bool = false,
avoidFerries: Bool = false,
avoidLockedRoads: Bool = true,
routeSearchType: RouteSearchType = RouteSearchType.jam,
excludedAreas: [ExcludedArea] = []
)
Parameters
avoidTollRoads
avoidUnpavedRoads
avoidFerries
avoidLockedRoads
routeSearchType
excludedAreas
Properties
Avoid toll roads.
Avoid unpaved roads.
Avoid ferry crossings.
Avoid closed roads. If true, the route search will not take into account road closures. If false is set, the route can be created through roadblocks if you cannot build a route without passing through roadblocks.
Route search type.
Excluded areas (not more than 25).