TruckRouteSearchOptions
Truck route search parameters. Only filled parameters are taken into account when searching a route.
public init(
car: CarRouteSearchOptions,
truckLength: UInt32? = nil,
truckHeight: UInt32? = nil,
truckWidth: UInt32? = nil,
actualMass: UInt32? = nil,
maxPermittedMass: UInt32? = nil,
axleLoad: UInt32? = nil,
dangerousCargo: Bool = false,
explosiveCargo: Bool = false,
passIds: Set<TruckPassZonePassId> = [],
fallbackOnCar: Bool = false
)
Parameters
Properties
Route search parameters common to other car routes.
Length of cargo vehicle in millimeters.
Cargo vehicle height in millimeters.
Cargo vehicle width in millimeters.
Actual weight of cargo vehicle in kilograms.
Permissible maximum weight of cargo vehicle in kilograms.
Axle load in kilograms.
Dangerous cargo indication.
Indication of the presence of explosives in cargo.
Set<TruckPassZonePassId>
Identifiers of the user's existing passes required to move within the pass zones.
Use of automatic fallback from cargo route search to vehicle route search when unable to find a cargo route that satisfies the search parameters.