none
bing maps no longer loading RRS feed

  • Question

  • We're programmatically generating HTML to pass to a browser to load bing maps. This worked as of a day or so ago, but today it no longer works. I'm wondering if the address has changed half a dozen lines down in  src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6" 

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html> 

    <head>

    <title>Map For: 'xxxx'</title> 

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">   

    <script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6"></script>    

    <script type="text/javascript">   

    var map = null; 

    var findPlaceResults = null;  

    function GetMap()  

    map = new VEMap('myMap:newmap'); 

    map.LoadMap(); 

    map.Find(null,'Address ommitted for privacy', null, null, null, null, true, true, null, true, GetCoordinates); 

    }  

    function GetCoordinates(layer, resultsArray, places, hasMore, veErrorMessage) 

    {findPlaceResults = places[0].LatLong;

    var myShape = new VEShape(VEShapeType.Pushpin,

    findPlaceResults);

    myShape.SetDescription(findPlaceResults.toString());

    map.AddShape(myShape);map.SetZoomLevel(14);}

    </script>    

    </head> 

    <body onload="GetMap();"> 

    <div id='myMap:newmap' style="; width:784px;height:592px;"></div> 

    <div id='TitleDiv' style=";">Customer name</div>

    <div id='addDiv' style=";">Address: Address Omitted</div>

    </body>

    </html>


    Thursday, August 24, 2017 5:35 PM

Answers