diff --git a/src/utils/geo.ts b/src/utils/geo.ts index 461f6e1..b8387b4 100644 --- a/src/utils/geo.ts +++ b/src/utils/geo.ts @@ -13,7 +13,7 @@ export const DEFAULT_LOCATION: GeoCoordinates = { latitude: 59.3293 }; -const EARTH_RADIUS_METERS = 6371000; +const EARTH_RADIUS_METERS = 6371; function toRadians(value: number): number { return (value * Math.PI) / 180;