diff --git a/html/planeObject.js b/html/planeObject.js index 555e8bd..d753c95 100644 --- a/html/planeObject.js +++ b/html/planeObject.js @@ -2715,7 +2715,7 @@ PlaneObject.prototype.checkVisible = function() { return (!globeIndex || this.inView || this.selected || SelectedAllPlanes) && ( - (!globeIndex && this.seen < (58 - tisbReduction + jaeroTime + refreshInt())) + (!globeIndex && this.seen < (58 - tisbReduction + jaeroTime + refreshInt() / 1000)) || (globeIndex && this.seen_pos < (40 + jaeroTime + mlatTime + modeSTime - tisbReduction + refreshInt()) && now - this.last_info_server < noInfoTimeout) || this.selected || noVanish diff --git a/html/script.js b/html/script.js index 2dfe180..4867bfc 100644 --- a/html/script.js +++ b/html/script.js @@ -5226,8 +5226,8 @@ function mapRefresh(redraw) { } else { for (let i in g.planesOrdered) { const plane = g.planesOrdered[i]; - addToMap.push(plane); delete plane.glMarker; + addToMap.push(plane); } }