Skip to content

Instantly share code, notes, and snippets.

@JFriel
Created May 31, 2015 10:49
Show Gist options
  • Save JFriel/019e79fdcede90e80690 to your computer and use it in GitHub Desktop.
Save JFriel/019e79fdcede90e80690 to your computer and use it in GitHub Desktop.
float distance = locationA.distanceTo(locationB);
distance *= 0.000621371192
return (double)distance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment