treat ais objects as ground for label purposes

This commit is contained in:
Matthias Wirth
2024-08-17 22:24:32 +02:00
parent bc9fe9fbad
commit ebe83aee79

View File

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