Skip to main content
All docs
V25.1
  • 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.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

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

    <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