earthDistanceCalculator top-level constant

DistanceCalculatorHaversine const earthDistanceCalculator

Distance calculator for points in latitude/longitude coordinates on Earth.

Implementation

const earthDistanceCalculator = DistanceCalculatorHaversine(earthRadiusInKm);