DevExpress-Examples / map-for-winforms-azure-search

Create a Custom Search Panel Using the Microsoft Azure Maps Search Service

Repository from Github https://github.comDevExpress-Examples/map-for-winforms-azure-searchRepository from Github https://github.comDevExpress-Examples/map-for-winforms-azure-search

WinForms Maps - Create a Custom Search Panel Using the Microsoft Azure Maps Search Service

This example uses Microsoft’s Azure Maps Search Service to search for and obtain information on a specific map location.

NOTE: To incorporate this solution within your DevExpress-powered app, you need an Azure Maps service key. Replace the AzureKey property value with your subscription key to connect to Azure Maps.

Implementation Details

The original search panel is hidden. The DevExpress TextEdit UI element is used to specify a search keyword. The “Search for Location” button initiates the search request. To obtain search results, our AzureSearchDataProvider.SearchCompleted event is raised. The SearchCompletedEventArgs.RequestResult method returns a SearchRequestResult descendant (used to store search results). Results displayed within the DevExpress MemoEdit element include display name, address, and geographic coordinates (latitude and longitude) for a given search location:

Output:

Files to Look At

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Create a Custom Search Panel Using the Microsoft Azure Maps Search Service

License:Other


Languages

Language:Visual Basic .NET 54.5%Language:C# 45.5%