Hi,
i have the following questions:
I draw the UTM zones in a grid and I would like to display a label at the middle of the utm zone.
I use the following code:
pointFeature = new Cesium.Entity({
position: Cesium.Cartesian3.fromDegrees(point.longitude,point.latitude),
// position: Cesium.Cartographic.toCartesian(point),
// magnitude 8959698.732286263 und 12956982.555997713
label: {
text: gzd,
font: fs + " Helvetica",
heightReference : Cesium.HeightReference.CLAMP_TO_GROUND,
horizontalOrigin: Cesium.HorizontalOrigin.LEFT,
// verticalOrigin: Cesium.VerticalOrigin.BASELINE,
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
fillColor: Cesium.Color.RED,
disableDepthTestDistance: Number.POSITIVE_INFINITY,
distanceDisplayCondition: new Cesium.DistanceDisplayCondition(800000.0, 13000000.0)
scaleByDistance : new Cesium.NearFarScalar(1.5e2, 3.0, 10000000.0, 0.3)
},
});
this.labels.push(pointFeature);
In the screenshot, you see that the labels on the other side of the globe will always displayed (small red points)
Is there a other possibility to hide the labels on the other side of the globe ?