add special value in heatmap / replay for unknown altitude
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user