Traffic directions

How can I get driving time between two points with traffic. This information is displayed in the iPhone maps application if the "Show traffic" option is selected.

Appreciate your help.

+3
source share
1 answer

You should buy as β†’ Business Card Client and set the durationInTraffic property to β†’ DirectionsRequest object to true:

durationInTraffic () , DirectionsLeg , . -. .

- , β†’ , .

+2

Source: https://habr.com/ru/post/1756662/


All Articles