From ebe83aee790d87a46f59ee241dfd307652a47c66 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sat, 17 Aug 2024 22:24:32 +0200 Subject: [PATCH] treat ais objects as ground for label purposes --- html/planeObject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/planeObject.js b/html/planeObject.js index 3f380a2..63c0d02 100644 --- a/html/planeObject.js +++ b/html/planeObject.js @@ -834,7 +834,7 @@ PlaneObject.prototype.updateIcon = function() { if ( enableLabels && (!multiSelect || (multiSelect && this.selected)) && ( - (zoomLvl >= labelZoom && this.altitude != "ground") + (zoomLvl >= labelZoom && this.altitude != "ground" && this.dataSource != "ais") || (zoomLvl >= labelZoomGround - 2 && this.speed > 5 && !this.fakeHex) || (zoomLvl >= labelZoomGround + 0 && !this.fakeHex) || (zoomLvl >= labelZoomGround + 1)