Fri, 12/29/2017 - 13:11
#1
UseTraffic=true
I am evaluating the Directions API to retrieve distance, drive time and drive time with traffic. I am doing a POST to the Routes endpoing and passing the following:
{ "locations" : [address1, address2], "useTraffic":true}
The results come back providing me with the distance and drivetime but the UseTraffic flag in the response is false.
What am I missing?
Mon, 01/01/2018 - 07:45
Create an options object to
Create an options object to use for useTraffic and other options. The json might look like this: { "locations" : [address1, address2], options:{"useTraffic":true}}