From 1ceb4c122bc5e3c2e3545e7e3e4f09508978afe8 Mon Sep 17 00:00:00 2001 From: int2001 Date: Sun, 16 Mar 2025 07:31:06 +0000 Subject: [PATCH] Show RT-Az/Ele --- application/views/satellite/flightpath.php | 2 +- assets/js/sections/flightpath.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/application/views/satellite/flightpath.php b/application/views/satellite/flightpath.php index ecb7ce93b..22f68605b 100644 --- a/application/views/satellite/flightpath.php +++ b/application/views/satellite/flightpath.php @@ -43,7 +43,7 @@ - +

  

diff --git a/assets/js/sections/flightpath.js b/assets/js/sections/flightpath.js index 4fd7b12ff..3013a77a9 100644 --- a/assets/js/sections/flightpath.js +++ b/assets/js/sections/flightpath.js @@ -381,7 +381,8 @@ var sats = (function (L, d3, satelliteJs) { function updateSats(date) { sats.forEach(function (sat) { sat.setDate(date).update(); - console.log(sat._lookAngles); + $("#az").html("Azimuth: "+Math.round((sat._lookAngles.azimuth*100),2)/100); + $("#ele").html("Elevation: "+Math.round((sat._lookAngles.elevation*100),2)/100); }); return sats };