A newer version of this page is available. Switch to the current version.

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.

Properties

Name Description
GenerateLayerItems Gets or sets a value indicating whether or not it is necessary to automatically generate items for this layer. Inherited from InformationDataProviderBase.
IsBusy Obsolete. Returns a value indicating the InformationDataProviderBase is currently busy performing a previous request. Inherited from InformationDataProviderBase.
MaxVisibleResultCount Specifies the number of displayed results requested. Inherited from InformationDataProviderBase.
ProcessMouseEvents Gets or sets a value indicating whether or not 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
ClearSearchPanel() Clears the Search Panel. Inherited from InformationDataProviderBase.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
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.
Search(String) Searches for locations that best correspond to the specified keyword.
Search(String, String) Searches for locations that best correspond to the specified keyword in accordance with local culture.
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, 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.
ToString() Returns the textual representation of the OsmSearchDataProvider.

Events

Name Description
LayerItemsGenerating Occurs when a data provider starts generating map items for a layer. Inherited from InformationDataProviderBase.
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.
See Also