Skip to content

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

License

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published