1

I'm trying to calculate the Estimated Time of Arrival (ETA) between 2 locations and I need to take traffic into consideration.

I found this API call but it isn't clear if it includes traffic in the time estimates.

For example, the RouteService response below has "totalDriveTime"

"directions": [
        {
            "routeId": <routeId>,
            "routeName": "<routeName>",
            "summary": {
                "totalLength": <totalLength>,
                "totalTime": <totalTime>,
                "totalDriveTime": <totalDriveTime>,
                "envelope": {
                    <envelope>
                }
            },

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.