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
[DefaultValue("")]
[Parameter]
public string Azure { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
String | String. |
The Azure Maps API key. |
#Remarks
Follow the steps below to display Azure Maps in a DxMap component:
- Manage your Azure Maps account and obtain the API key.
- Set the Provider property to
Azure
. - Assign your Azure Maps key value to the
Azure
property.
<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>