Fix sat altitude

This commit is contained in:
phl0
2025-03-25 15:06:35 +01:00
parent 513065df0d
commit 74f019e8f7

View File

@@ -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));
});
}