add special value in heatmap / replay for unknown altitude

This commit is contained in:
Matthias Wirth
2025-02-27 00:05:44 +00:00
parent 5df0558b9f
commit 047472dea5

View File

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