AzureSearchDataProvider.Search(String, GeoPoint, SearchBoundingBox, Int32) Method
Searches for locations that best correspond to the specified keywords around the specified geographical point in the defined region.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v26.1.dll
NuGet Package: DevExpress.Win.Map
Declaration
public void Search(
string keyword,
GeoPoint searchAnchorPoint,
SearchBoundingBox boundingBox,
int maxResults = 5
)
Parameters
| Name | Type | Description |
|---|---|---|
| keyword | String | A string that contains information to search on a map. |
| searchAnchorPoint | GeoPoint | The geographical point that identifies the search area. |
| boundingBox | SearchBoundingBox | A SearchBoundingBox object that specifies the bounding region to be searched. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| maxResults | Int32 | 5 | The number of results that can be obtained by a search request. |
See Also