From 74f019e8f7697c2f68804d763a3c047231c596d7 Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 25 Mar 2025 15:06:35 +0100 Subject: [PATCH] Fix sat altitude --- assets/js/sections/flightpath.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/sections/flightpath.js b/assets/js/sections/flightpath.js index 963fde807..695f3e317 100644 --- a/assets/js/sections/flightpath.js +++ b/assets/js/sections/flightpath.js @@ -521,7 +521,7 @@ function getBearing(lat1, lng1, lat2, lng2) { $("#az").html(az); $("#ele").html(ele); $("#satorbit").html(sat.getOrbitType()); - $("#satalt").html(Math.round(sat.altitude() * 1.60934) + " km"); + $("#satalt").html(Math.round(sat.altitude()) + " km"); $("#grid").html(latLngToLocator(sat._position.lat, sat._position.lng)); }); }