How to: Get Information About a Geographical Point Using the Bing Geocode Service
This example demonstrates how to manually process received Bing Geocode location information.
- Create a InformationLayer object and add it to the MapControl.Layers collection. Assign the BingGeocodeDataProvider object to the InformationLayer.DataProvider property.
- Handle the BingGeocodeDataProvider.LocationInformationReceived event. In the event handler, process the location information received from Bing Geocode 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.