fix incorrect earth radius constants (#9793)

This commit is contained in:
Kyℓe Hensel
2023-08-03 04:13:49 +12:00
committed by GitHub
parent fc6dd759b8
commit f7cbdfb9e5
3 changed files with 36 additions and 36 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
// constants
var TAU = 2 * Math.PI;
var EQUATORIAL_RADIUS = 6356752.314245179;
var POLAR_RADIUS = 6378137.0;
const EQUATORIAL_RADIUS = 6.3781370E6;
const POLAR_RADIUS = 6.3567523E6;
export function geoLatToMeters(dLat) {