ifit/Geolib — pull request #1 by grobot (2013-12-17 18:09:04+00:00)
Title: Haversine for getDistance

Fixes https://github.com/ifit/ifit/issues/1978.

using haversine equation for getDistance

When comparing distances between two lat/lngs geolib was returning
a different distance than google was. Google is using haversine
formula to get their distances. It is a much easier equation and
simpler to read.