Back to Devexpress

DxMapApiKeys.Azure Property

blazor-devexpress-dot-blazor-dot-dxmapapikeys.md

latest1.5 KB
Original Source

DxMapApiKeys.Azure Property

Specifies the key for the Azure Maps data provider.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
StringString.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

DxMapApiKeys Class

DxMapApiKeys Members

DevExpress.Blazor Namespace