I have an instance of GeoCoordinate from the Bing Maps Silverlight control. I'm trying to draw a line on the map control at a given bearing.
My current approach is to:
- Figure out a distance suitable for the current ZoomLevel.
- Combine this distance with the bearing to find the corresponding destination GeoCoordinate.
- Add a MapPolyline from the origin GeoCoordinate to the destination GeoCoordinate in a MapLayer.
The GetDistanceTo method performs the reverse operation, but I can't find a method that takes the bearing and distance and results in a GeoCoordinate.
Is there a method I can call with the origin GeoCoordinate, bearing and distance that will find the destination GeoCoordinate?