Migrate from Bing Maps to Azure Maps Providers
- 3 minutes to read
This article explains how to migrate from Bind Maps services supported by the DevExpress Map control to the corresponding Azure Maps services.
Important
On May 21, 2024, Microsoft announced that Bing Maps for Enterprise and its API will be discontinued. Azure Maps will be a single unified enterprise mapping platform available from Microsoft.
We are working on API compatible with Azure Maps and expect to ship it with our next major release (v24.2).
If you have an existing license to Bing Maps for Enterprise, you can continue using our existing API. You need to transition to new API until June 30, 2025 (free and basic license) or until June 30, 2028 (enterprise license).
The last date you can get a new license to Bing Maps for Enterprise is June 30, 2025. If you do not have an existing license after that date, you would not be able to use our map controls with Bing Maps or Azure Maps (until we release the new API). During that time, you can use other map providers supported by our controls, such as OpenStreetMap.
Available Map Data Providers
The following table lists DevExpress map service providers supported by the DevExpress Map Control:
Service | Bing Maps Provider | Azure Maps Provider |
---|---|---|
Imagery | BingMapDataProvider | AzureMapDataProvider |
Search | BingSearchDataProvider | AzureSearchDataProvider |
Geocode | BingGeocodeDataProvider | AzureGeocodeDataProvider |
Route | BingRouteDataProvider | AzureRouteDataProvider |
Traffic Incident | BingTrafficIncidentDataProvider | AzureTrafficIncidentDataProvider |
Isochrone | BingRouteIsochroneDataProvider | AzureRouteIsochroneDataProvider |
Elevation | BingElevationDataProvider | - |
Specify the AzureKey
or BingKey
property to access Azure Maps or Bing Maps data. A key is available in your Azure Maps or Bing Maps account.
Useful Resources
Migration Guide: Update Your Code
Tables in the following sections list Bing Maps provider members and their Azure Maps provider API counterparts. Use these tables to update your code when migrating to Azure Maps providers.
Service | Bing Maps Provider | Azure Maps Provider |
---|---|---|
Image tiles and top layers | Kind, TopLayer | Tileset |
Culture | CultureName | CultureName |
View according to the region | - | LocalizedMapView |
AzureMapDataProvider supports Azure Map tiles in raster formats.
Review the following help topic for more information: Migrate Bing Maps Get Imagery Metadata API
Search
Provided Service | Bing Maps Provider | Azure Maps Provider |
---|---|---|
Search request | Search | Search |
Search request: maximum results | BingSearchDataProvider.SearchOptions | maxResults parameter |
Search request: culture | culture parameter |
AzureSearchDataProvider.CultureName |
Obtain search results | SearchCompleted | SearchCompleted |
Review the following help topic for more information: Migrate Bing Maps Find a Location by Address API
Geocode
Service | Bing Maps Provider | Azure Maps Provider |
---|---|---|
Geocode request | RequestLocationInformation | RequestLocationInformation |
Geocode request: culture | culture parameter |
AzureGeocodeDataProvider.CultureName |
Obtain geocoding results | LocationInformationReceived | LocationInformationReceived |
Review the following help topic for more information: Migrate Bing Maps Find a Location by Point API
Route
Provided Service | Bing Maps Provider | Azure Maps Provider |
---|---|---|
Route request | CalculateRoute | CalculateRoute |
Route request: options | RouteOptions | AzureRouteOptions parameter |
Route request for major roads | CalculateRoutesFromMajorRoads | - |
Obtain route result | RouteCalculated | RouteCalculated |
Route options | BingRouteOptions | AzureRouteOptions |
Culture | - | CultureName |
Review the following help topic for more information: Migrate Bing Maps Calculate a Route API
Traffic Incident
Service | Bing Maps Provider | Azure Maps Provider |
---|---|---|
Traffic incident request | RequestTrafficIncidents | RequestTrafficIncidents |
Traffic incident request: options | Options | AzureTrafficIncidentOptions parameter |
Obtain traffic incident result | TrafficIncidentCalculated | TrafficIncidentCalculated |
Traffic incident options | BingTrafficIncidentOptions | AzureTrafficIncidentOptions |
View according to the region | - | LocalizedMapView |
Culture | - | CultureName |
Review the following help topic for more information: Migrate Bing Maps Get Traffic Incidents API
Isochrone
Service | Bing Maps Provider | Azure Maps Provider |
---|---|---|
Isochrone calculation request | CalculateIsochroneByDistance, CalculateIsochroneByTime, CalculateIsochroneByTimeWithTraffic |
CalculateIsochroneByDistance, CalculateIsochroneByTime |
Request options | IsochroneOptions | AzureRouteIsochroneOptions parameter |
Obtain isochrone calculation result | IsochroneCalculated | IsochroneCalculated |
Isochrone Options | BingRouteIsochroneOptions | AzureRouteIsochroneOptions |