From 047472dea5e2f44843c09323ea1dad5335b29349 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Thu, 27 Feb 2025 00:05:44 +0000 Subject: [PATCH] add special value in heatmap / replay for unknown altitude --- html/script.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/html/script.js b/html/script.js index 3b9fe9a..cc40b7d 100644 --- a/html/script.js +++ b/html/script.js @@ -7446,6 +7446,8 @@ function drawHeatmap() { alt |= -65536; if (alt == -123) alt = 'ground'; + else if (alt == -124) + alt = null; else alt *= 25; @@ -7930,6 +7932,8 @@ function replayStep(arg) { alt |= -65536; if (alt == -123) alt = 'ground'; + else if (alt == -124) + alt = null; else alt *= 25;