Skip to main content
You are viewing help content for pre-release software. This document and the features it describes are subject to change.
All docs
V24.1

DxMapApiKeys.Bing Property

Specifies a key for the Bing map data provider.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

Declaration

[DefaultValue("")]
[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.

<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>

For information on where to get a Bing Maps key, refer to the following article: Getting a Bing Maps Key.

See Also