For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Interface RoutingTruckOptions
interface RoutingTruckOptions {
avoidances?: RoutingAvoidances;
axleLoad?: number;
hazmat?: boolean;
height?: number;
length?: number;
topSpeed?: number;
weight?: number;
}
avoidances?: RoutingAvoidances;
axleLoad?: number;
hazmat?: boolean;
height?: number;
length?: number;
topSpeed?: number;
weight?: number;
}
Properties
Optionalavoidances
Avoidance flags
OptionalaxleLoad
axleLoad?: number
Axle load of the truck, in metric tonnes. Default: 9.07. Maximum: 40.
Optionalhazmat
hazmat?: boolean
Whether the truck carries hazardous materials
Optionalheight
height?: number
Height of the truck, in meters. Default: 4.11.
Optionallength
length?: number
Length of the truck, in meters. Default: 21.64.
OptionaltopSpeed
topSpeed?: number
Maximal speed of the truck, in km/h. Whole numbers only. Default: 120. Maximum: 252.
Optionalweight
weight?: number
Weight of the truck, in metric tonnes. Used for restrictions. Default: 21.77.
Truck-specific routing options.