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

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 shared with other vehicles.

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.

A sign of the presence of dangerous goods.

A sign of the presence of explosive cargo.

Identifiers of the user's passes required for moving within the access zones.

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