I am using both the "duration_in_traffic" and "duration" feature using the DistanceMatrix API.
For a given coordinate pair, I see the following results:
{
"destination_addresses": [
"Hamburg, Germany"
],
"origin_addresses": [
"85748 Garching, Germany"
],
"rows": [
{
"elements": [
{
"distance": {
"text": "761 km",
"value": 760831
},
"duration": {
"text": "7 hours 1 min",
"value": 25242
},
"duration_in_traffic": {
"text": "6 hours 42 mins",
"value": 24145
},
"status": "OK"
}
]
}
],
"status": "OK"
}
Here is my question:
How is it that the duration_in_traffic is less than duration?
From what i understood:
Duration: Duration of travel on a route... Not sure if it is without traffic
Duration_in_traffic: Duration of travel on a route under traffic conditions.
Any explanation on this will be greatly appreciated.