Retrieve Driving Directions Using the BingMapsDirectionsTask
The Bing Maps directions task launches the built-in Maps application and displays driving directions between two points. A start and an end point can be specified using the task’s
End properties, which are of type
LabeledMapLocation. If only one location is specified, the user’s current location is used in place of the unspecified location.
At least one of the
End properties must be specified, or an
InvalidOperationException is thrown when you call the
End properties allow you to specify a string label and geographic coordinates indicating the latitude and longitude of the location. If you omit the geographic ...