Microsoft announces 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 :
<Page ... xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps"> ... <Maps:MapControl MapServiceToken="{StaticResource MapCredentials}" /> ... </Page>
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
I’m trying to figure out the best way to migrate to Azure Maps from a Bing Maps project with minimal work.