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

DxMapApiKeys.Azure Property

Specifies the key for the Azure Maps data provider. Available in v24.2.5+.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue("")]
[Parameter]
public string Azure { get; set; }

#Property Value

Type Default Description
String String.Empty

The Azure Maps API key.

#Remarks

Follow the steps below to display Azure Maps in a DxMap component:

  1. Manage your Azure Maps account and obtain the API key.
  2. Set the Provider property to Azure.
  3. Assign your Azure Maps key value to the Azure property.
razor
<DxMap Zoom="14"
       Provider="MapProvider.Azure"
       Width="100%"
       Height="600px"
       ControlsVisible="true" >
    <DxMapApiKeys Azure="{your_azure_maps_key}" />
    <DxMapCenter GeoPosition="40.7061, -73.9969" />
</DxMap>
See Also