OpenStreetMapKind Enum
Lists the values used to specify the kind of maps to be obtained from the OpenStreetMapDataProvider.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.2.dll
NuGet Package: DevExpress.Wpf.Map
#Declaration
#Members
Name | Description |
---|---|
Basic
|
The layer represents the basic (mapnik) OSM map. To see this map kind, use the following link: openstreetmap. |
Cycle
|
The layer represents the Map |
Hot
|
The layer represents the Humanitarian OSM Team OSM map. To see this map kind, use the following link: openstreetmap. |
Transport
|
The layer represents the transport OSM map. To see this map kind, use the following link: openstreetmap. |
Sea
|
The layer represents the Open |
Hiking
|
The layer represents the Hiking Map OSM map. To see this map kind, use the following link: hiking. |
Cycling
|
The layer represents the Cycle routes OSM map. To see this map kind, use the following link: cycling. |
Public
|
The layer represents the Openptmap OSM map. This is the overlay layer type. |
#Related API Members
The following properties accept/return OpenStreetMapKind values:
#Remarks
The values listed by the OpenStreetMapKind enumeration are used to set the OpenStreetMapDataProvider.Kind property.
#Example
Tip
A complete sample project is available in the DevExpress Code Examples database at https://supportcenter.
This example demonstrates how to connect to the OpenStreetMap web service using the OpenStreetMapDataProvider object.
private void OnWebRequest(object sender, DevExpress.Xpf.Map.MapWebRequestEventArgs e) {
e.UserAgent = "DevExpress OpenStreetMapProvider example";
}