In this blog, I will explain about Ajax Map Control JavaScript API 7.0. This API is used to integrate Microsoft Bing Maps in to your application through client side implementation.
The URL for the API is
dev.virtualearth
Code Sample
- <script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script>
- lt;script type="text/javascript">
- function GetMap() {
- var map = new Microsoft.Maps.Map(document.getElementById("map"), { credentials: "Bing Maps Key" });
- }
- lt;/script>
To generate Bing Maps Key , please login into
bingmapsportal with your Microsoft Live ID. You can avail Free trial to access API for 90 days.