Truck parameters in HERE Matrix Routing API v8
For a detailed description of the Truck Routing mode and the parameters that can be used to influence route calculations, see Truck routing in the HERE Routing API v8 Developer Guide.
Note
truckparameters are deprecated. Usevehicleparameters instead. Do not usetruckparameters andvehicleparameters in the same request.
Example
The following matrix routing request is for a truck carrying goods that are explosive and harmful to water. The truck's current total weight is 15,000 kg, whereas its gross weight is 20,000 kg.
{
"routingMode": "fast",
"transportMode": "truck",
"origins": [
{"lat": 52.52103, "lng": 13.41268},
{"lat": 52.51628, "lng": 13.37771},
{"lat": 52.47342, "lng": 13.40357}
],
"regionDefinition": {
"type": "boundingBox",
"north": 52.53,
"south": 52.46,
"west": 13.35,
"east": 13.42
},
"vehicle": {
"shippedHazardousGoods": ["harmfulToWater", "explosive"],
"currentWeight": 15000
"grossWeight": 20000
}
}Updated 8 days ago