Shhivaa Shhivaa - 1 year ago 82
Javascript Question

driving distance between S and D in bing map in javascript?

I want the 1.driving distance and 2.driving time between source(A) and destination(B) in bing maps in javascript. please help me.

Answer Source

You can easily do this using the Directions module in the Bing Maps V7 JavaScript control: https://msdn.microsoft.com/en-us/library/hh312802.aspx

You can find interactive code samples here: https://www.bingmapsportal.com/ISDK/AjaxV7#DirectionsModule2

Alternatively you can also use the Bing Maps REST services in JavaScript. Here is a code sample: https://msdn.microsoft.com/en-us/library/gg427607.aspx

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download