Skip to main content

OsmSearchDataProvider Members

Provides the search options using the Open Street Map service.

Constructors

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

Fields

Name Description
CultureNameProperty static Identifies the InformationDataProviderBase.CultureName dependency property. Inherited from InformationDataProviderBase.
GenerateLayerItemsProperty static Identifies the InformationDataProviderBase.GenerateLayerItems dependency property. Inherited from InformationDataProviderBase.
MaxVisibleResultCountProperty static Identifies the InformationDataProviderBase.MaxVisibleResultCount dependency property. Inherited from InformationDataProviderBase.
ProcessMouseEventsProperty static Identifies the InformationDataProviderBase.ProcessMouseEvents dependency property. Inherited from InformationDataProviderBase.
ResultsCountProperty static Identifies the OsmSearchDataProvider.ResultsCount dependency property.

Properties

Name Description
CultureName Gets or sets the Culture name used to obtain data from the Bing GIS services. Inherited from InformationDataProviderBase.
GenerateLayerItems Gets or sets a value indicating whether it is necessary to automatically generate items for this layer. Inherited from InformationDataProviderBase.
IsBusy Inherited from WebInformationDataProvider<TEventArgs>.
MaxVisibleResultCount Specifies the number of requested results displayed. Inherited from InformationDataProviderBase.
ProcessMouseEvents Gets or sets a value indicating whether it is necessary to process mouse events by this data provider. Inherited from InformationDataProviderBase.
ResultsCount Gets or sets the total number of search results that can be obtained using an OsmSearchDataProvider.

Methods

Name Description
Cancel() Inherited from WebInformationDataProvider<TEventArgs>.
Search(String, String, String[], SearchBoundingBox, Int32) Searches for locations that best correspond to the specified keyword in the specified region in the accordance with local culture and country codes.
Search(String, String, String[], SearchBoundingBox) Searches for locations that best correspond to the specified keyword in the specified region in the accordance with local culture and country codes.
Search(String, String) Searches for locations that best correspond to the specified keyword in accordance with local culture.
Search(String) Searches for locations that best correspond to the specified keyword.

Events

Name Description
LayerItemsGenerating Occurs when a data provider starts generating map items for a layer. Inherited from InformationDataProviderBase.
PropertyChanged Occurs every time any of the MapDependencyObject class properties has changed its value. Inherited from MapDependencyObject.
SearchCompleted Occurs when a search operation has been completed.
WebRequest Occurs when the Map control sends a request to a web service. Inherited from WebInformationDataProvider<TEventArgs>.
See Also