Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public static double GetDistance(double sLatitude, double sLongitude, double eLatitude, double eLongitude)
  2. {
  3. var sCoord = new GeoCoordinate(sLatitude, sLongitude);
  4. var eCoord = new GeoCoordinate(eLatitude, eLongitude);
  5. return sCoord.GetDistanceTo(eCoord);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement