From bbf6c3d54bc91acd44e03e37b924425663722f26 Mon Sep 17 00:00:00 2001 From: Claude Dev Date: Tue, 24 Mar 2026 11:35:20 +0100 Subject: [PATCH] Fix: Marker durch Globus-Rueckseite sichtbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit disableDepthTestDistance entfernt — Punkte werden jetzt korrekt vom Globus verdeckt und nur auf der sichtbaren Seite angezeigt. --- static/js/layers/flights.js | 2 -- static/js/layers/gdelt.js | 1 - static/js/layers/ships.js | 2 -- 3 files changed, 5 deletions(-) diff --git a/static/js/layers/flights.js b/static/js/layers/flights.js index 1c1b9a5..25f3078 100644 --- a/static/js/layers/flights.js +++ b/static/js/layers/flights.js @@ -49,7 +49,6 @@ const FlightsLayer = { outlineColor: Cesium.Color.fromCssColorString('#004422'), outlineWidth: 1, heightReference: Cesium.HeightReference.NONE, - disableDepthTestDistance: Number.POSITIVE_INFINITY, }, label: { text: cs, @@ -61,7 +60,6 @@ const FlightsLayer = { pixelOffset: new Cesium.Cartesian2(8, -4), scale: 0.8, showBackground: false, - disableDepthTestDistance: Number.POSITIVE_INFINITY, distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 2000000), }, description: '
' + diff --git a/static/js/layers/gdelt.js b/static/js/layers/gdelt.js index 855b7a9..70cebbc 100644 --- a/static/js/layers/gdelt.js +++ b/static/js/layers/gdelt.js @@ -48,7 +48,6 @@ const GdeltLayer = { outlineColor: Cesium.Color.fromCssColorString('#663300'), outlineWidth: 1, heightReference: Cesium.HeightReference.NONE, - disableDepthTestDistance: Number.POSITIVE_INFINITY, }, description: '
' + '' + title + '' + diff --git a/static/js/layers/ships.js b/static/js/layers/ships.js index 32e923d..9d4d59b 100644 --- a/static/js/layers/ships.js +++ b/static/js/layers/ships.js @@ -50,7 +50,6 @@ const ShipsLayer = { outlineColor: Cesium.Color.fromCssColorString('#112244'), outlineWidth: 0.5, heightReference: Cesium.HeightReference.NONE, - disableDepthTestDistance: Number.POSITIVE_INFINITY, }, label: { text: name, @@ -61,7 +60,6 @@ const ShipsLayer = { style: Cesium.LabelStyle.FILL_AND_OUTLINE, pixelOffset: new Cesium.Cartesian2(6, -3), scale: 0.7, - disableDepthTestDistance: Number.POSITIVE_INFINITY, distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 500000), }, description: '
' +