Bing Maps / Virtual Earth deprecation

Posted by: tscheller on 10 April 2025, 9:54 am EST

  • Posted 10 April 2025, 9:54 am EST

    Hi,

    I saw that the Bing Maps / Virtual Earth API has been announced for deprecation by June 30 2025. E.g. see the notice here: https://learn.microsoft.com/en-us/bingmaps/rest-services/imagery/get-a-static-map

    As far as I understand, tile.virtualearth.net is currently being used in your map sources (e.g. VirtualEarthRoadSource), and is also affected by this deprecation.

    Do you have plans for replacing these with e.g. Azure Maps or something else before the deadline?

  • Posted 11 April 2025, 3:19 am EST

    Hi Thomas,

    Thank you for sharing the details.

    We are getting in touch with the development team to get their insights on this and will let you know the updates as soon as possible.

    [Internal Tracking ID: C1XAML-37955]

    Best Regards,

    Kartik

  • Posted 28 April 2025, 8:22 am EST

    Hi Thomas,

    The development team has discussed the deprecation internally and shared that they will be introducing a new OpenStreetTileSource in the 2025v1 Hotfix 1 release. This TileSource will use the OpenStreetMaps API to fetch map tiles and will become the default TileSource for the C1Map control.

    Please note that the release of 2025v1 HF1 is scheduled after Microsoft ends support for Bing Maps. Therefore, during this interim period, you will need to update your code to use a custom OpenStreetTileSource. You can use the following code:

     public class OpenStreetTileSource : C1.WPF.Maps.MultiScaleTileSource
     {
         private const string UriFormat = "http://tile.openstreetmap.org/{0}/{1}/{2}.png";
         private const int ZoomOffset = -8;
    
         public OpenStreetTileSource() : base(0x8000000, 0x8000000, 256, 256, 0)
         {
         }
    
         protected override void GetTileLayers(int tileLevel, int tilePositionX, int tilePositionY, IList<object> tileImageLayerSources)
         {
             var uri = new Uri(string.Format(CultureInfo.InvariantCulture, UriFormat, tileLevel + ZoomOffset, tilePositionX, tilePositionY));
             tileImageLayerSources.Add(uri);
         }
     }

    Regarding the addition of Azure Maps support in C1Map, since Azure Maps always requires an API key, the team also plans to provide an Azure Maps TileSource, which will require the customers to supply their own Azure Maps API key to run.

    Best Regards,

    Kartik

  • Posted 28 April 2025, 8:39 am EST

    Hi Kartik,

    Thanks for the update! Actually we already have a tile source implemented for OpenStreetMaps in the same or very similar way that you pointed out. This works for a map with street view, but OpenStreetMaps doesn’t offer Satellite or Hybrid view. Are there any alternatives for maps with a Satellite / Hybrid view?

  • Posted 29 April 2025, 4:56 am EST

    Hi Thomas,

    Yes, OpenStreetMaps doesn’t offer Satellite or Hybrid views. However, several free or freemium third-party tile APIs - such as Esri-ArcGIS Online and NASA GIBS - do provide access to satellite imagery tiles. Each service has its own terms and conditions that must be followed. You can also use AI tools to discover other similar APIs that suits your needs the best.

    Best Regards,

    Kartik

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels