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.

Fields

Name Description
CacheOptionsProperty static Identifies the CacheOptions dependency property. Inherited from MapDataProviderBase.
ImageSourceProperty static Identifies the MapImageDataProviderBase.ImageSource dependency property. Inherited from MapImageDataProviderBase.
KindProperty static Identifies the OpenStreetMapDataProvider.Kind dependency property.
RequestOptionsProperty static Identifies the MapDataProviderBase.RequestOptions dependency property. Inherited from MapDataProviderBase.
SubdomainsProperty static Identifies the OpenStreetMapDataProvider.Subdomains dependency property.
TileUriTemplateProperty static Identifies the OpenStreetMapDataProvider.TileUriTemplate dependency property.

Properties

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

Methods

Name Description
GetMapSizeInPixels(Double) Returns the map size in pixels. Inherited from MapImageDataProviderBase.
SetTileSource(MapTileSourceBase) Assigns a new tile source to the data provider. Inherited from MapDataProviderBase.

Events

Name Description
PropertyChanged Occurs every time any of the MapDependencyObject class properties has changed its value. Inherited from MapDependencyObject.
WebRequest Occurs when the Map control sends a request to a web service. Inherited from MapImageDataProviderBase.
See Also