Calculating long routes with Bing Maps V7

Oct 5, 2011 at 11:03 AM
Edited Oct 5, 2011 at 11:04 AM


Thanx for nice solution(Route Service Helper) and code,

refer :

1) I'm trying to eliminate "Calculate Route" button click so that page can display Route on very first page load by calling CalculateRoute() in function GetMap() 's last line. but getting error "RouteServiceHelper" not Initialized.

How I can achieve this functionality?

Jan 19, 2012 at 5:11 PM

Use a callback when loading the module and then calculate the route after the module has loaded.