Disabling Aerial view RRS feed

  • Question

  • Is there a way to disable the aerial view? I tried setting the disableAerial: true parameter in the map options but this doesn't work.   Thanks.

      var navigationBarMode = Microsoft.Maps.NavigationBarMode;

            var mapOptions = {
                credentials: mapCredentials,
                mapTypeId: Microsoft.Maps.MapTypeId.road,
                navigationBarMode: navigationBarMode.compact,
                disableStreetside: true,
                disableAerial: true,
                enableClickableLogo: false,
                enableSearchLogo: false,
                showCopyright: false,
                showDashboard: true,
                showLogo: false

            map = new Microsoft.Maps.Map("#mapDiv", mapOptions);

    Wednesday, June 7, 2017 4:39 PM


  • There is no option to do this. However looking at your code you don't want streetside either. In this case there is no need to display a map type selector, so add the following option to the map:

    showMapTypeSelector: false

    [Blog] [twitter] [LinkedIn]

    • Proposed as answer by Ricky_Brundritt Thursday, June 8, 2017 1:56 AM
    • Marked as answer by NKerns Tuesday, June 13, 2017 1:23 PM
    Thursday, June 8, 2017 1:56 AM