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 Class

Allows you to specify keys for map data providers.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

Declaration

public class DxMapApiKeys :
    DxSettingsComponent<MapApiKeyModel>

Remarks

To display maps in your application, you must have the map provider’s API key. Use the Provider property to specify the current map data provider. Then, add the DxMapApiKeys object to the DxMap control and assign your key to the corresponding property.

Provider Key Property
MapProvider.Bing DxMapApiKeys.Bing
MapProvider.Google DxMapApiKeys.Google
MapProvider.GoogleStatic DxMapApiKeys.GoogleStatic
<DxMap Provider="MapProvider.Bing" Zoom="14" Width="100%" Height="600px" ControlsVisible="true" >
    <DxMapApiKeys Bing="your_bing_key" />
    <DxMapCenter GeoPosition="40.7061, -73.9969" />
</DxMap>

Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.ClientComponents.Internal.MapApiKeyModel>
DxMapApiKeys
See Also