Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static double GetDistance(double sLatitude, double sLongitude, double eLatitude, double eLongitude)
- {
- var sCoord = new GeoCoordinate(sLatitude, sLongitude);
- var eCoord = new GeoCoordinate(eLatitude, eLongitude);
- return sCoord.GetDistanceTo(eCoord);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement