From 37b7923849f1195a60e07eff866a49ca21bfd38b Mon Sep 17 00:00:00 2001 From: fukunee Date: Sat, 19 Sep 2026 13:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E8=AE=B0=E4=BE=BF=E7=AD=BE=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E8=B7=9D=E7=A6=BB=E6=8E=A7=E5=88=B6=EF=BC=8C=E4=BB=85?= =?UTF-8?q?=E4=BF=9D=E7=95=99=E8=A7=86=E9=87=8E=E5=86=85=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scene/CesiumGlobe.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/scene/CesiumGlobe.js b/src/scene/CesiumGlobe.js index ad3e181..e143df6 100644 --- a/src/scene/CesiumGlobe.js +++ b/src/scene/CesiumGlobe.js @@ -313,12 +313,10 @@ export class CesiumGlobe { _updateMarkerLayer() { const scene = this.viewer.scene; const camera = scene.camera; - const outOfRange = camera.positionCartographic.height > 8e6; // 最远 8000 km 内显示 for (const m of this.markers) { const el = m.el; if (!el) continue; - if (outOfRange) { el.style.display = 'none'; continue; } const win = Cesium.SceneTransforms.worldToWindowCoordinates(scene, m.position); if (!win) { el.style.display = 'none'; continue; }