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.Bing Property

OBSOLETE

This property is obsolete now.

Specifies a key for the Bing map data provider.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

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

#Property Value

Type Default Description
String String.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 more information: Bing Maps for Enterprise Service Deprecation.

See Also