CarRouteSearchOptions
Parameters for finding a route by car.
CarRouteSearchOptions(
avoidTollRoads: Boolean = false,
avoidUnpavedRoads: Boolean = false,
avoidFerries: Boolean = false,
avoidLockedRoads: Boolean = true,
routeSearchType: RouteSearchType = RouteSearchType.JAM
)
Parameters for finding a route by car.
Parameters
avoidTollRoads
avoidUnpavedRoads
avoidFerries
avoidLockedRoads
routeSearchType
Returns
Properties
Avoid toll roads.
Avoid dirt roads.
Avoid ferries.
Avoid closed roads. When set to true, the route search will not take into account road sections that are closed to traffic. If set to false, the route can be routed through blocked sections of roads if it is impossible to build a route without passing through blocked sections.
Route search type.