Skip to main content
A newer version of this page is available. .

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.v19.2.dll

Declaration

public enum OpenStreetMapKind

Members

Name Description
Basic

The layer represents the basic (mapnik) OSM map. To see this map kind, use the following link: openstreetmap.org. This is the base layer type.

OsmBasicLayer

Mapquest

Obsolete. The layer represents the MapQuest OSM map. To see this map kind, use the following link: openstreetmap.org. This is the base layer type.

OsmMapQuestKind

MapquestSatellite

Obsolete. The layer represents the MapQuest Satellite OSM map. To see this map kind, use the following link: mapquest.org. This is the base layer type.

OsmMapquestSetteliteKind

CycleMap

The layer represents the MapCycleMap OSM map. To see this map kind, use the following link: openstreetmap.org. This is the base layer type.

OsmCycleLayer

Hot

The layer represents the Humanitarian OSM Team OSM map. To see this map kind, use the following link: openstreetmap.org. This is the base layer type.

OsmHotKind

GrayScale

The layer represents the mapnik map grayscale OSM map. This is the base layer type.

OsmGrayscaleKind

Transport

The layer represents the transport OSM map. To see this map kind, use the following link: openstreetmap.org. This is the base layer type.

OsmTransportKind

SkiMap

Obsolete. The layer represents the OpenPisteMap OSM map. This is the overlay layer type.

OsmSkiMapKind

SeaMarks

The layer represents the OpenSeaMap OSM map. To see this map kind, use the following link: www.openseamap.org. This is the overlay layer type.

OsmSeaMarksKind

HikingRoutes

The layer represents the Hiking Map OSM map. To see this map kind, use the following link: hiking.waymarkedtrails.org. This is the overlay layer type.

OsmHikingRoutesKind

CyclingRoutes

The layer represents the Cycle routes OSM map. To see this map kind, use the following link: cycling.waymarkedtrails.org. This is the overlay layer type.

OsmCyclingRoutesKind

PublicTransport

The layer represents the Openptmap OSM map. This is the overlay layer type.

OsmPublicTransportKind

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 http://www.devexpress.com/example=E3617.

This example demonstrates how to connect to the OpenStreetMap web service using the OpenStreetMapDataProvider object.

<dxm:MapControl>
    <dxm:MapControl.Layers>
        <dxm:ImageLayer>
            <dxm:ImageLayer.DataProvider>
                <dxm:OpenStreetMapDataProvider TileUriTemplate="http://{subdomain}.tile.MyCustomOSMProvider.org/{tileLevel}/{tileX}/{tileY}.png"
                                               WebRequest="OnWebRequest"/>
            </dxm:ImageLayer.DataProvider>
        </dxm:ImageLayer>
    </dxm:MapControl.Layers>
</dxm:MapControl>
See Also