Skip to main content

BingMapDataProvider.Kind Property

Gets or sets a value specifying the type of images to be displayed on a map.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v25.1.dll

NuGet Package: DevExpress.Win.Map

Declaration

[DefaultValue(BingMapKind.Hybrid)]
public BingMapKind Kind { get; set; }

Property Value

Type Default Description
BingMapKind Hybrid

A BingMapKind enumeration value.

Available values:

Name Description Image
Road

The map shows road schemas.

BingMaps Kind - Road

Area

The map shows images of the Earth’s surface.

BingMaps Kind - Area

Hybrid

The map shows a combination of Earth images and road schemas.

BingMaps Kind - Hybrid

RoadLight

The map shows a lighter version of road schemas.

BingMaps Kind - RoadLight

RoadGray

The map shows a grayscale version of road schemas.

BingMaps Kind - RoadGray

RoadDark

The map shows a dark version of road schemas.

BingMaps Kind - RoadDark

Example

This example demonstrates how to connect to the Bing Maps using the BingMapDataProvider object.

Important

On May 21, 2024, Microsoft announced that Bing Maps for Enterprise and its API will be discontinued. Azure Maps will be a single unified enterprise mapping platform available from Microsoft.

To obtain and display map data from Azure Maps, we implemented the following providers:

For information on how to migrate your app from Bing Maps to Azure Maps, see the following help topic: Migrate from Bing Maps to Azure Maps Providers.

If you already have a Bing Maps for Enterprise license, you can keep using the current API. You must transition to the new API by June 30, 2025 (for free/basic licenses) or June 30, 2028 (for enterprise licenses). New licenses will no longer be available after June 30, 2025. Bing Maps will not work with our map controls without a license after that date.

mapControl1.Layers.Add(new ImageLayer() {
    DataProvider = new BingMapDataProvider() {
        BingKey = "YOUR BING KEY",
        Kind = BingMapKind.Road
    }
});
See Also