Skip to main content
All docs
V25.1
  • AzureMapDataProvider Class

    Loads map images from the Azure Maps data provider.

    Namespace: DevExpress.Xpf.Map

    Assembly: DevExpress.Xpf.Map.v25.1.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