ETAs for custom truck dimensions
Implement Using: Distance Matrix Flexible API
In this example, we take a 3 x 3 matrix with 3 origins and 3 destinations which would result in a total of 9 combinations (or elements) in the response. We will also customize our request and set:
mode
to trucktruck_size
to truck height,width,length in centimeters (cm). This defines the dimensions of a truck.truck_weight
set with the total weight of the truck including the weight of trailer and shipped goods in kilograms (kg).departure_time
to indicate the time when the trip starts