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:
@@ -49,7 +49,6 @@ const FlightsLayer = {
|
|||||||
outlineColor: Cesium.Color.fromCssColorString('#004422'),
|
outlineColor: Cesium.Color.fromCssColorString('#004422'),
|
||||||
outlineWidth: 1,
|
outlineWidth: 1,
|
||||||
heightReference: Cesium.HeightReference.NONE,
|
heightReference: Cesium.HeightReference.NONE,
|
||||||
disableDepthTestDistance: Number.POSITIVE_INFINITY,
|
|
||||||
},
|
},
|
||||||
label: {
|
label: {
|
||||||
text: cs,
|
text: cs,
|
||||||
@@ -61,7 +60,6 @@ const FlightsLayer = {
|
|||||||
pixelOffset: new Cesium.Cartesian2(8, -4),
|
pixelOffset: new Cesium.Cartesian2(8, -4),
|
||||||
scale: 0.8,
|
scale: 0.8,
|
||||||
showBackground: false,
|
showBackground: false,
|
||||||
disableDepthTestDistance: Number.POSITIVE_INFINITY,
|
|
||||||
distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 2000000),
|
distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 2000000),
|
||||||
},
|
},
|
||||||
description: '<div style="font-family:monospace;font-size:12px;color:#00ff88">' +
|
description: '<div style="font-family:monospace;font-size:12px;color:#00ff88">' +
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ const GdeltLayer = {
|
|||||||
outlineColor: Cesium.Color.fromCssColorString('#663300'),
|
outlineColor: Cesium.Color.fromCssColorString('#663300'),
|
||||||
outlineWidth: 1,
|
outlineWidth: 1,
|
||||||
heightReference: Cesium.HeightReference.NONE,
|
heightReference: Cesium.HeightReference.NONE,
|
||||||
disableDepthTestDistance: Number.POSITIVE_INFINITY,
|
|
||||||
},
|
},
|
||||||
description: '<div style="font-family:monospace;font-size:12px;color:#ff8800">' +
|
description: '<div style="font-family:monospace;font-size:12px;color:#ff8800">' +
|
||||||
'<strong>' + title + '</strong>' +
|
'<strong>' + title + '</strong>' +
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ const ShipsLayer = {
|
|||||||
outlineColor: Cesium.Color.fromCssColorString('#112244'),
|
outlineColor: Cesium.Color.fromCssColorString('#112244'),
|
||||||
outlineWidth: 0.5,
|
outlineWidth: 0.5,
|
||||||
heightReference: Cesium.HeightReference.NONE,
|
heightReference: Cesium.HeightReference.NONE,
|
||||||
disableDepthTestDistance: Number.POSITIVE_INFINITY,
|
|
||||||
},
|
},
|
||||||
label: {
|
label: {
|
||||||
text: name,
|
text: name,
|
||||||
@@ -61,7 +60,6 @@ const ShipsLayer = {
|
|||||||
style: Cesium.LabelStyle.FILL_AND_OUTLINE,
|
style: Cesium.LabelStyle.FILL_AND_OUTLINE,
|
||||||
pixelOffset: new Cesium.Cartesian2(6, -3),
|
pixelOffset: new Cesium.Cartesian2(6, -3),
|
||||||
scale: 0.7,
|
scale: 0.7,
|
||||||
disableDepthTestDistance: Number.POSITIVE_INFINITY,
|
|
||||||
distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 500000),
|
distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 500000),
|
||||||
},
|
},
|
||||||
description: '<div style="font-family:monospace;font-size:12px;color:#4499ff">' +
|
description: '<div style="font-family:monospace;font-size:12px;color:#4499ff">' +
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren