Truck
A vehicle of type truck.
Note: This option is not yet supported with the Orbis map. Note: This option is not supported when chargingOptions are set in com.tomtom.sdk.routing.options.RoutePlanningOptions.. Note: Note: The parameters maxSpeed and dimensions are ignored if both parameters modelId and electricEngine are set. Note: If the parameter modelId is set, vehicle consumption, efficiency and charging parameters are ignored. Note: If the parameter combustionEngine is set, the parameter modelId will not be used and will be disregarded.
Parameters
The truck's maximum speed.
If true, the vehicle is used for commercial purposes and thus may not be allowed to drive on some roads.
The vehicle's electric engine for route and consumption calculation.
The vehicle's combustion engine for route and consumption calculation.
The truck's dimensions.
The hazardous materials classes of the vehicle's load.
The ADR tunnel restrictions of the vehicle.
Specifies the Model ID of the vehicle as obtained from the TomTom Vehicle Database. It allows calculating an EV route without specifying the vehicle's consumption and charging parameters.