Here is a simple example of how to use Bing Maps in an MVC application.
I am using Bing Maps V8 which is the current version of Microsoft.
Also, nothing that document.ready will fire long before the map script loads as it loads asynchronously. Sometimes document.ready will fire before the page is loaded which means the map div might not even be available. To overcome this, we are using the callback parameter of the map script UR: for example:
http://www.bing.com/api/maps/mapcontrol?callback=LoadMap
Continue reading Bing Maps in an MVC Application