Skip to main content

OpenStreetMapDataProvider Members

The class that loads map images from a web resource that provides data in the OpenStreetMap format.

Constructors

Name Description
OpenStreetMapDataProvider() Initializes a new instance of the OpenStreetMapDataProvider class with default settings.

Properties

Name Description
CacheOptions Returns the settings for a map’s cache. Inherited from MapTileDataProviderBase.
Kind Gets or sets a value specifying the type of images to be displayed on a map.
Projection Gets a projection used by the Open Street map data provider.
Subdomains Gets or sets an array of subdomains used to obtain OSM tile images.
TileSource Gets or sets a tile source associated with the current data provider. Inherited from MapDataProviderBase.
TileUriTemplate Gets or sets a pattern to obtain image tiles from the OpenStreetMap provider.

Methods

Name Description
ClearCache() Clears the map provider tile cache. Inherited from MapTileDataProviderBase.
Dispose() Disposes of the current object. Inherited from MapDisposableObject.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetMapSizeInPixels(Double) Returns the map size (in pixels) for the specified zoom level.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the textual representation of OpenStreetMapDataProvider.

Events

Name Description
WebRequest Occurs when a Map control sends a request to an external web service. Inherited from MapImageDataProviderBase.
See Also