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

    Loads map images from the Azure Maps data provider.

    Namespace: DevExpress.Xpf.Map

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

    The following code snippets (auto-collected from DevExpress Examples) contain references to the AzureMapDataProvider class.

    Note

    The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

    Inheritance

    See Also