earthRadius top-level constant

double const earthRadius

Earth Radius used with the Harvesine formula and approximates using a spherical (non-ellipsoid) Earth.

Implementation

const earthRadius = 6371008.8;