none
Bird's Eye View Different Angles Don't Work RRS feed

  • Question

  • Hello, 

    Last time that I checked was around Aug 28th that Bird's Eye views from North and East Angle were both working. However, the East angle is not showing up anymore. Did anything change with the new release?

    - Can I view different angles in this page https://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk/checkbirdseyev2availability

     or in Bing Maps by general?

    - Is there a documentation for angle parameters? 

    Friday, September 27, 2019 11:53 PM

Answers

All replies

  • Hi Ati,

    Please provide the location and details of the API call that is failing (without your key).  There should be no difference and all directions should be available.

    Sincerely,

    IoTGirl

    Monday, September 30, 2019 3:40 PM
    Owner
  • It looks like we now cannot have 2 maps with the same MapTypeId in one page. For example:

    var map = new Microsoft.Maps.Map(document.getElementById('myMap'), {});
    map.setView({
        mapTypeId: Microsoft.Maps.MapTypeId.birdseye,
        center: new Microsoft.Maps.Location(35.027222, -111.0225),
        zoom: 15
    });

    var map2 = new Microsoft.Maps.Map(document.getElementById('myMap2'), {});
    map2.setView({
        mapTypeId: Microsoft.Maps.MapTypeId.birdseye,
        center: new Microsoft.Maps.Location(36.0454545, -111.0225),
        zoom: 15
    });

    If we change one of these map types to Microsoft.Maps.MapTypeId.aerial, then it works fine. Is this a new limitation?

    Tuesday, October 1, 2019 6:13 PM
  • Hi Ati,

    I don't know of such a limitation. Is this a new question?  Are you able to get N.S.E & W that you asked in the first question?

    You have also not answered my questions so can you give more context as to how we might see your issue?

    Sincerely,

    IoTGirl

    Wednesday, October 2, 2019 7:37 PM
    Owner
  • Hey IoTGirl, 

    It's the same question as my original post. Previously (about a month ago) we were able to see 2 Birds Eye views on the same page. But now, one of them doesn't work unless we remove the first one. 

    The below code doesn't work (doesn't show the second Bird's Eye View map. 

    <!DOCTYPE html>
    <html>
    <head>
        <title></title>
        <meta charset="utf-8" />
    
        <!-- Reference to the Bing Maps SDK -->
        <script type='text/javascript'
                src='http://www.bing.com/api/maps/mapcontrol?callback=GetMap' async defer></script>
        
        <script type='text/javascript'>
        function GetMap()
        {
            var map = new Microsoft.Maps.Map('#myMap', {
                credentials: 'Your Bing Key',
                center: new Microsoft.Maps.Location(51.50632, -0.12714),
                mapTypeId: Microsoft.Maps.MapTypeId.birdseye,
                zoom: 10
            });
    		var map2 = new Microsoft.Maps.Map('#myMap2', {
                credentials: 'Your Bing Key',
                center: new Microsoft.Maps.Location(51.50632, -0.12714),
                mapTypeId: Microsoft.Maps.MapTypeId.birdseye,
                zoom: 10
            });
    
            //Add your post map load code here.
        }
        </script>
    </head>
    <body>
        <div id="myMap" style=";width:600px;height:400px;"></div>
    	<div id="myMap2" style=";width:600px;height:400px;"></div>
    </body>
    </html>

    However, other map types work fine. Sample that works:

    <!DOCTYPE html>
    <html>
    <head>
        <title></title>
        <meta charset="utf-8" />
    
        <!-- Reference to the Bing Maps SDK -->
        <script type='text/javascript'
                src='http://www.bing.com/api/maps/mapcontrol?callback=GetMap' async defer></script>
        
        <script type='text/javascript'>
        function GetMap()
        {
            var map = new Microsoft.Maps.Map('#myMap', {
                credentials: 'Your Bing Key',
                center: new Microsoft.Maps.Location(51.50632, -0.12714),
                mapTypeId: Microsoft.Maps.MapTypeId.aerial,
                zoom: 10
            });
    		var map2 = new Microsoft.Maps.Map('#myMap2', {
                credentials: 'Your Bing Key',
                center: new Microsoft.Maps.Location(51.50632, -0.12714),
                mapTypeId: Microsoft.Maps.MapTypeId.aerial,
                zoom: 10
            });
    
            //Add your post map load code here.
        }
        </script>
    </head>
    <body>
        <div id="myMap" style=";width:600px;height:400px;"></div>
    	<div id="myMap2" style=";width:600px;height:400px;"></div>
    </body>
    </html>

    The only difference between codes above is aerial and birdseye map type. 

    reference of this code: https://docs.microsoft.com/en-us/bingmaps/v8-web-control/map-control-concepts/map/customize-map-options-on-load

    Thursday, October 3, 2019 3:31 PM
  • Hi Ati,

    The Bing Maps V8 team has your sample and will review.

    Sincerely,

    IoTGirl

    Friday, October 4, 2019 8:38 PM
    Owner
  • Hi IoTGirl, 

    Any update on this? Perhaps a workaround?

    Friday, October 18, 2019 8:50 PM
  • No response from them at this point but I have asked them again.
    Friday, October 18, 2019 9:12 PM
    Owner
  • Should be fixed now. Sorry for the inconveniences.
    Wednesday, October 23, 2019 5:19 PM
  • Hi Ati,

    Can you please confirm that this is fixed for you?

    Sincerely,

    IoTGirl

    Wednesday, October 23, 2019 5:33 PM
    Owner
  • Hi, 

    Sorry for delay. This is fixed. Thank you for your help!

    Tuesday, November 19, 2019 8:07 PM
  • Many thanks for your confirmation!
    Wednesday, November 20, 2019 6:07 PM
    Owner