Coder Social home page Coder Social logo

devexpress-examples / how-to-programmatically-search-using-the-bing-map-search-service-e4238 Goto Github PK

View Code? Open in Web Editor NEW
1.0 56.0 1.0 144 KB

This example demonstrates how to create a custom search panel that searches for location, keywords, and other parameters with the BingSearchDataProvider.Search method.

License: Other

C# 49.50% Visual Basic .NET 50.50%
dotnet dxmap wpf xpf

how-to-programmatically-search-using-the-bing-map-search-service-e4238's Introduction

Map for WPF - How to Programmatically Search with the Bing Map Search Service

This example demonstrates how to create a custom search panel that searches for location, keywords, and other parameters with the BingSearchDataProvider.Search method.

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 textblock element below.

The results contain a display name , entity type, and address associated with the search location. In addition, the SearchRequestResult.AlternateSearchRegions property returns results of searching alternate regions.

You can also see search request information returned by the RequestResultBase.ResultCode, RequestResultBase.FaultReason and SearchRequestResult.EstimatedMatches properties.

Note that if you run this sample as is, you will get a warning message saying that the specified Bing Maps key is invalid. To learn more about Bing Map keys, please refer to the How to: Get a Bing Maps Key tutorial.

Files to Review

Documentation

Does this example address your development requirements/objectives?

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

how-to-programmatically-search-using-the-bing-map-search-service-e4238's People

Contributors

alexilia avatar devexpressexamplebot avatar ritazakhodyaeva avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

hnjm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.