Skip to content

earthRadiusMeters

const earthRadiusMeters: 6378100 = 6_378_100

Radius in metres of the sphere that every distance operation uses.

The library uses one authalic-scale sphere rather than an ellipsoid, because a spherical model is the only earth model that every bound target computes identically.