How to: Process Route Information
This example demonstrates how to manually process route data received from the Bing Route service.
- Create an InformationLayer object and add it to the MapControl.Layers collection. Assign the BingRouteDataProvider object to the InformationLayer.DataProvider property.
- Handle the BingRouteDataProvider.RouteCalculated event. In the event handler, process the received route information.