none
Bing maps problem with IE 11 RRS feed

  • Question

  • I used http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0 Map control not loaded in IE 11. 

    Monday, February 3, 2014 9:45 AM

Answers

  • The map control works perfectly in IE11. Take a look at this documentation on how to use the Bing Maps control: http://msdn.microsoft.com/en-us/library/gg427624.aspx

    Note this URL is meant to be used as a script reference inside your web page like this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
       <head>
          <title></title>
          <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    
          <script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script>
    
          <script type="text/javascript">
    
             function GetMap()
             {
                var map = new Microsoft.Maps.Map(document.getElementById("mapDiv"), {credentials:"Your Bing Maps Key"});
             }
    
          </script>
       </head>
       <body onload="GetMap();"> 
          <div id='mapDiv' style="; width:400px; height:400px;"></div>
       </body>
    </html>


    http://rbrundritt.wordpress.com

    Monday, February 3, 2014 10:38 AM