Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AzureMapDataProvider Class

Loads map images from the Azure Maps data provider.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.2.dll

NuGet Package: DevExpress.Wpf.Map

#Declaration

public class AzureMapDataProvider :
    MapDataProviderBase,
    IAzureTilesetProvider

#Remarks

Specify AzureKey to access data from Azure Maps. A key is obtained when you create an Azure Maps account.

When you connect a map layer to Azure Maps data provider, you can specify the following settings:

CultureName
Gets or sets the Culture name used to obtain data from Azure GIS services.
LocalizedView
Specifies the map view for a certain country/region.
Tileset
Specifies the tileset that the provider loads from the service.
Projection
Gets a projection used by the Azure Maps data provider.

The following example connects a map control to Azure Maps and specifies map layers:

Azure Map Layers

<dxm:MapControl>
    <dxm:ImageLayer>
        <dxm:AzureMapDataProvider Tileset="Imagery" AzureKey="your key"/>
    </dxm:ImageLayer>
    <dxm:ImageLayer>
        <dxm:AzureMapDataProvider Tileset="BaseLabelsRoad" AzureKey="your key"/>
    </dxm:ImageLayer>
</dxm:MapControl>

#Inheritance

See Also