javascript - Driving directions with traffic -


how receive driving time between 2 locations traffic. information displayed on iphone maps application, when 'show traffic' option selected.

appreciate help.

you have buy in >>maps business customer , set durationintraffic property of >>directionsrequest object true:

durationintraffic (optional) specifies whether directionsleg result should include duration takes account current traffic conditions. feature available maps business customers. time in current traffic returned if traffic information available in requested area.

without being business customer not able take current traffic situation account directions calculations, can still >>activate traffic layer in maps show current traffic situation on map.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -