Calculate great-circle distance between two latitude/longitude points.
Remix "Great Circle Distance Haversine" into your own editable copy — tweak it, share it, make it yours.