ru.dgis.sdk.routing.CarRouteSearchOptions | Android SDK | Urbi Documentation

CarRouteSearchOptions

Parameters for finding a car route.

CarRouteSearchOptions(
	avoidTollRoads: Boolean = false,
	avoidUnpavedRoads: Boolean = false,
	avoidFerries: Boolean = false,
	avoidLockedRoads: Boolean = true,
	routeSearchType: RouteSearchType = RouteSearchType.JAM,
	excludedAreas: List<ExcludedArea> = listOf()
)

Parameters for finding a car route.

Parameters
avoidTollRoads
avoidUnpavedRoads
avoidFerries
avoidLockedRoads
routeSearchType
excludedAreas
Returns
Properties

Avoid toll roads.

Avoid dirt roads.

Avoid ferries.

Avoid closed roads. When set to true, the route search does not take into account road sections that are closed to traffic. If set to false, the route can be built through blocked sections of roads if it is impossible to build a route without passing through blocked sections.

Route search type.

Excluded areas (no more than 25).