Skip to main content
All docs
V25.1
  • DevExpress Map Control for WPF: Migrate from Bing Maps to Azure Maps

    • 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.

    To obtain and display map data from Azure Maps, we implemented the following providers:

    For information on how to migrate your app from Bing Maps to Azure Maps, see the following help topic: DevExpress Map Control for WPF: Migrate from Bing Maps to Azure Maps.

    If you already have a Bing Maps for Enterprise license, you can keep using the current API. You must transition to the new API by June 30, 2025 (for free/basic licenses) or June 30, 2028 (for enterprise licenses). New licenses will no longer be available after June 30, 2025. Bing Maps will not work with our map controls without a license after that date.

    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 BingMapDataProvider.Kind, BingMapDataProvider.TopLayer Tileset
    Culture BingMapDataProvider.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

    Provided Service Bing Maps Provider Azure Maps Provider
    Search request BingSearchDataProvider.Search Search
    Search request: maximum results BingSearchDataProvider.SearchOptions maxResults parameter
    Obtain search results BingSearchDataProvider.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 BingGeocodeDataProvider.RequestLocationInformation RequestLocationInformation
    Obtain geocoding results BingGeocodeDataProvider.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 BingRouteDataProvider.CalculateRoute CalculateRoute
    Route request: options BingRouteDataProvider.RouteOptions AzureRouteOptions parameter
    Route request for major roads BingRouteDataProvider.CalculateRoutesFromMajorRoads -
    Obtain route result BingRouteDataProvider.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 BingTrafficIncidentDataProvider.RequestTrafficIncidents RequestTrafficIncidents
    Traffic incident request: options BingTrafficIncidentDataProvider.Options AzureTrafficIncidentOptions parameter
    Obtain traffic incident result BingTrafficIncidentDataProvider.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 BingRouteIsochroneDataProvider.CalculateIsochroneByDistance,
    BingRouteIsochroneDataProvider.CalculateIsochroneByTime,
    BingRouteIsochroneDataProvider.CalculateIsochroneByTimeWithTraffic
    CalculateIsochroneByDistance,
    CalculateIsochroneByTime
    Request options BingRouteIsochroneDataProvider.IsochroneOptions AzureRouteIsochroneOptions parameter
    Obtain isochrone calculation result BingRouteIsochroneDataProvider.IsochroneCalculated IsochroneCalculated
    Isochrone Options BingRouteIsochroneOptions AzureRouteIsochroneOptions