How to: Manually Process Location Information Received From the Bing Search Service
This example demonstrates how to manually process received Bing Search locations information.
- Create a InformationLayer object and add it to the MapControl.Layers collection. Assign the BingSearchDataProvider object to the InformationLayer.DataProvider property.
- Handle the BingSearchDataProvider.SearchCompleted event. In the event handler, process the data received from the Bing Search service.
NOTE
If you run the application, and see a window with the following error message: ”The specified Bing Maps key is invalid. To create a developer account, refer to http://www.