Reputation: 13537
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:
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?
Upvotes: 1
Views: 843
Reputation: 13537
As a stub answer, lets assume that the framework doesn't currently have a method for finding a GeoCoordinate given:
In this case the C# Geodesy Library for GPS – Vincenty’s Formulae is a good place to get code to do the calculation. I haven't yet figured out which reference ellipsoid model to use so that the GetDistanceTo() method can reverse the operation.
I'm still wondering if there is any built in support for solving what I now know is referred to as the First geodetic problem.
Upvotes: 1