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

TruckRouteSearchOptions

Parameters for finding a truck route . When searching for a route, only filled-in parameters are taken into account.

TruckRouteSearchOptions(
	car: CarRouteSearchOptions,
	truckLength: Int? = null,
	truckHeight: Int? = null,
	truckWidth: Int? = null,
	actualMass: Int? = null,
	maxPermittedMass: Int? = null,
	axleLoad: Int? = null,
	dangerousCargo: Boolean = false,
	explosiveCargo: Boolean = false,
	passIds: Set<TruckPassZonePassId> = setOf(),
	fallbackOnCar: Boolean = false
)

Parameters for finding a truck route . When searching for a route, only filled-in parameters are taken into account.

Parameters
car
truckLength
truckHeight
truckWidth
actualMass
maxPermittedMass
axleLoad
dangerousCargo
explosiveCargo
passIds
fallbackOnCar
Returns
Properties

Route search options common to other car routes.

Length of the truck in millimeters.

Height of the truck in millimeters.

Width of the truck in millimeters.

Actual weight of the truck in kilograms.

Maximum authorized mass of a truck in kilograms.

Axle load in kilograms.

Sign of the presence of dangerous cargo.

Sign of the presence of explosive cargo.

Identifiers of the user passes required for moving within the pass zones.

Use automatic fallback from truck route search to car route search, if you cannot find a truck route that matches the search parameters.