locked
Bing Maps AJAX Control Version 7.0 BirdsEye Bug RRS feed

  • Question

  • Hi,

    There seems to be a problem with the v7.0 control properly detecting the availability of BirdsEye imagery.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
       <head>
          <title>Map with birds eye view</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">
          var map = null;
          function getMap() {
             map = new Microsoft.Maps.Map(document.getElementById('myMap'), {credentials: 'BING_MAPS_CREDENTIALS_GO_HERE', center: new Microsoft.Maps.Location(54.98, -1.6), mapTypeId: Microsoft.Maps.MapTypeId.birdseye, zoom: 14});
          }
          </script>
       </head>
       <body onload="getMap();">
          <div id='myMap' style="; width:400px; height:400px;"></div>
       </body>
    </html>

    When I view the map defined in the code above the standard aerial imagery is displayed and the BirdsEye rotation controls aren't shown. When I zoom out a level (to zoom level 13) the BirdsEye mode starts working and I can then zoom back in a level and view and manipulate the BirdsEye imagery at zoom level 14 and higher.

    The problem seems to occur with any initial zoom level greater than 13, and I've verified the behaviour in Chrome and IE (having cleared caches etc first). It also occurs when the initial map type is auto too.

    There seems to be a geographic aspect to the problem as it doesn't happen with some other initial locations.

    I've posted the question here as I'm not sure if there's a formal mechanism to report bugs (we have an Enterprise licence).

    Best regards,

    Gary

    Thursday, November 1, 2012 12:52 PM

Answers

  • This sounds like it could be related to the issue recently discussed at http://social.msdn.microsoft.com/Forums/en-US/bingmaps/thread/ca0912c6-33a2-4ee2-87f3-808c9e8578a6    ...?

    twitter: @alastaira blog: http://alastaira.wordpress.com/ | Pro Spatial with SQL Server 2012

    • Marked as answer by Garee Thursday, November 1, 2012 1:34 PM
    Thursday, November 1, 2012 1:30 PM
  • Hi Alastair,

    Thanks for the quick reply - you're right it does sound identical. I'll mark your reply as the answer to this question and monitor the other thread (I only searched in the AJAX forum before posting).

    Best regards,

    Gary

    • Marked as answer by tanoshimi Thursday, November 1, 2012 2:03 PM
    Thursday, November 1, 2012 1:34 PM

All replies

  • This sounds like it could be related to the issue recently discussed at http://social.msdn.microsoft.com/Forums/en-US/bingmaps/thread/ca0912c6-33a2-4ee2-87f3-808c9e8578a6    ...?

    twitter: @alastaira blog: http://alastaira.wordpress.com/ | Pro Spatial with SQL Server 2012

    • Marked as answer by Garee Thursday, November 1, 2012 1:34 PM
    Thursday, November 1, 2012 1:30 PM
  • Hi Alastair,

    Thanks for the quick reply - you're right it does sound identical. I'll mark your reply as the answer to this question and monitor the other thread (I only searched in the AJAX forum before posting).

    Best regards,

    Gary

    • Marked as answer by tanoshimi Thursday, November 1, 2012 2:03 PM
    Thursday, November 1, 2012 1:34 PM