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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -