Conversion from Bing Maps to Azure Maps

Ronald Chandler 20 Reputation points
2025-08-03T13:23:51.7833333+00:00

I have an application in Visual Basic that has used Bing Map software to produce maps using either street addresses (for U.S. locations) or GPS coordinates (for worldwide locations) as input. My Bing software is now useless, and I want to replace it with Azure maps.

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
{count} votes

2 answers

Sort by: Most helpful
  1. rbrundritt 21,191 Reputation points Microsoft Employee Moderator
    2025-08-05T15:26:53.3966667+00:00

    If you are using Bing Maps in a Visual Basic app you are most likely using the WPF control or a 3rd party control made by someone else that might be pulling in Bing Maps tiles. If it's a third party control, then it may be as simple as updating the tile service request. If you are using the Bing Maps WPF control, the simplest solution is to leverage the solution I have here that redirects all requests to the Bing Maps services in the WPF control to the Azure Maps services: https://github.com/rbrundritt/AzureMapsWPFControl This should be fairly quick to implement, and a good option if you don't have any plan to make any changes to the map functionality of your app.

    If you are looking to add a more advanced map control that can do a lot more you could take a look at using this open source solution I created that wraps nearly the full Azure Maps Web SDK capabilities: https://github.com/rbrundritt/AzureMapsNativeControl

    Alternatively you can also look at using another open source map control that supports tile layers and pull in Azure Maps data that way. For example:

    • Maps UI – Fairly popular open source Native Map SDK.
    • MapLibre Native – MapLibre is the underlying rendering engine of the Azure Maps Web SDK and also the recommended control to use for iOS and Android so this is a good option to consider. Until recently there wasn’t much work around Windows but it looks like this has changed. Microsoft is a sponsor of the MapLibre community.
    • XAML Map Control – I just came across this one and it appears to have some API interface alignment with the UWP map control. I don’t know much about it, but worth a look.
    • GreatMaps – An older open source project focused on WPF and WinForm apps.

    My recommendation, if you don't need to add more advanced mapping functionality, use the WPF control solution I provided as that would take minutes to implement. If you plan to redevelop you map experience and need more advanced features, use the open source Native control I pointed to.

    1 person found this answer helpful.
    0 comments No comments

  2. rbrundritt 21,191 Reputation points Microsoft Employee Moderator
    2025-08-05T15:55:49.0833333+00:00

    Rereading your question I'm not wondering if maybe your application is instead retrieve static images of maps rather than providing your users with an interactive map experience. If this is the case you would use the Azure Maps REST services. You would first need to geocode your addresses using either the geocoding service: https://learn.microsoft.com/en-us/rest/api/maps/search/get-geocoding?view=rest-maps-2025-01-01&tabs=HTTP or the batch geocoding service if you have a lot of addresses you want to process: https://learn.microsoft.com/en-us/rest/api/maps/search/get-geocoding-batch?view=rest-maps-2025-01-01&tabs=HTTP

    From there you can use this API to get static map images: https://learn.microsoft.com/en-us/rest/api/maps/render/get-map-static-image?view=rest-maps-2025-01-01&tabs=HTTP

    Note that an interactive map experience would most likely have lower cost than using a static map service as map tiles would be cached and any user looking at the same general area that looked at previously would most likely pull the tiles from the cache and not generate new costs.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.