Fix: Marker durch Globus-Rueckseite sichtbar

disableDepthTestDistance entfernt — Punkte werden jetzt korrekt
vom Globus verdeckt und nur auf der sichtbaren Seite angezeigt.
Dieser Commit ist enthalten in:
Claude Dev
2026-03-24 11:35:20 +01:00
Ursprung e946d9d52e
Commit bbf6c3d54b
3 geänderte Dateien mit 0 neuen und 5 gelöschten Zeilen

Datei anzeigen

@@ -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: '<div style="font-family:monospace;font-size:12px;color:#00ff88">' +

Datei anzeigen

@@ -48,7 +48,6 @@ const GdeltLayer = {
outlineColor: Cesium.Color.fromCssColorString('#663300'),
outlineWidth: 1,
heightReference: Cesium.HeightReference.NONE,
disableDepthTestDistance: Number.POSITIVE_INFINITY,
},
description: '<div style="font-family:monospace;font-size:12px;color:#ff8800">' +
'<strong>' + title + '</strong>' +

Datei anzeigen

@@ -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: '<div style="font-family:monospace;font-size:12px;color:#4499ff">' +