Created
June 15, 2014 20:07
-
-
Save jesperordrup/a16fae43916e621c688f to your computer and use it in GitHub Desktop.
Distance between two coords (lat lng)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sCoord = new GeoCoordinate(sLatitude, sLongitude); | |
var eCoord = new GeoCoordinate(eLatitude, eLongitude); | |
return sCoord.GetDistanceTo(eCoord); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment