This example demonstrates how to create a custom search panel that searches for location, keywords, and other parameters with the AzureSearchDataProvider.Search method.
Note: If you run this sample as is, you get a warning message saying that the specified Azure Maps key is invalid. To learn more about Azure Map keys, please refer following tutorial: Migrate from Bing Maps to Azure Maps
To use the Search panel, specify search parameters (location, keyword, start search index, geographical point coordinates) in the textbox elements.
When you handle the search_Click
event, all parameters are passed to the Search
method, and you can see the result in the text block element below.
The results contain a display name, entity type, and address associated with the search location. You can also see search request information returned by the RequestResultBase.ResultCode, RequestResultBase.FaultReason, and SearchRequestResult.EstimatedMatches properties.
(you will be redirected to DevExpress.com to submit your response)