Closed tomislavhofman closed 3 years ago
Nevermind. Just saw that you fixed it. 🤦♂
@tomislavhofman thanks for reporting! Yeah I fixed the docs and added tests but haven't done a release since then because I feel weird doing a "docs only" release. If more people get confused though I will definitely do that.
If we look a little bit deeper
public static double distance(double lat1, double long1, double lat2, double long2)
calculates the distance in meters. To calculate its radius it is usingConstants.EARTH_EQ_RADIUS
which is 6378137 (earth's radius in meters).