Migrating from “Bing Maps” to “Azure Maps”.
Hello,
I have just received your email announcing the end of support for “Bing Maps” on June 30, 2025. This service is being replaced by “Azure Maps”.
Currently I use the C# object: Windows.UI.Xaml.Controls.Maps.MapControl , with the associated Xaml: xmlns:Maps=”using:Windows.UI.Xaml.Controls.Maps” and <Maps:MapControl MapServiceToken=”{StaticResource MapCredentials}” />.
I saw that there is an Azure.ResourceManager.Maps package but this package does not have a native component for Xaml. It looks like I need to use the WebView component ( <WebView x:Name=”mapWebView” /> ) instead.
This WebView displays an HTML page with JavaScript code that calls the https://atlas.microsoft.com/sdk/javascript/mapcontrol/2/atlas.min.js code to perform authentication via a YOUR_AZURE_MAPS_KEY and displays a map to the screen.
Can anyone confirm this method of using “Azure Maps” with a Xaml project?
Thanks in advance,
Best regards
C-A
Hello, I have just received your email announcing the end of support for “Bing Maps” on June 30, 2025. This service is being replaced by “Azure Maps”. Currently I use the C# object: Windows.UI.Xaml.Controls.Maps.MapControl , with the associated Xaml: xmlns:Maps=”using:Windows.UI.Xaml.Controls.Maps” and <Maps:MapControl MapServiceToken=”{StaticResource MapCredentials}” />. I saw that there is an Azure.ResourceManager.Maps package but this package does not have a native component for Xaml. It looks like I need to use the WebView component ( <WebView x:Name=”mapWebView” /> ) instead. This WebView displays an HTML page with JavaScript code that calls the https://atlas.microsoft.com/sdk/javascript/mapcontrol/2/atlas.min.js code to perform authentication via a YOUR_AZURE_MAPS_KEY and displays a map to the screen. Can anyone confirm this method of using “Azure Maps” with a Xaml project? Thanks in advance,Best regardsC-A Read More