Back to Devexpress

DxMapApiKeys.Bing Property

blazor-devexpress-dot-blazor-dot-dxmapapikeys-1e3e75b6.md

latest2.3 KB
Original Source

DxMapApiKeys.Bing Property

OBSOLETE

This property is obsolete now.

Specifies a key for the Bing map data provider.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[Browsable(false)]
[DefaultValue("")]
[Obsolete("This property is obsolete now.")]
[Parameter]
public string Bing { get; set; }

Property Value

TypeDefaultDescription
StringString.Empty

The Bing Maps key.

|

Remarks

You must have a Bing Maps key to display Bing Maps in the DxMap control in your application.

When the Provider property is set to MapProvider.Bing, assign your Bing Maps key value to the Bing property.

razor
<DxMap Zoom="14" Provider="MapProvider.Bing" Width="100%" Height="600px" ControlsVisible="true" >
    <DxMapApiKeys Bing="{my_bing_maps_key}" />
    <DxMapCenter GeoPosition="40.7061, -73.9969" />
</DxMap>

Important

Microsoft deprecated Bing Maps for Enterprise and specified retirement dates. This change is a part of Microsoft’s initiative to unify its enterprise map product offerings: Bing Maps for Enterprise and Azure Maps.

Our Blazor Map component now supports Azure Maps. To display Azure Maps in your application, set the Provider property to Azure and assign the corresponding API key to the DxMapApiKeys.Azure property.

Refer to the following article for additional information: Bing Maps for Enterprise Service Deprecation.

See Also

DxMapApiKeys Class

DxMapApiKeys Members

DevExpress.Blazor Namespace