Point Primitives get clipped on the IDL in 2d mode. Is there a workaround for this?
Sandcastle code:
var viewer = new Cesium.Viewer(‘cesiumContainer’, {
sceneMode: Cesium.SceneMode.SCENE2D,
});
viewer.camera.setView({
destination: Cesium.Cartesian3.fromDegrees(179, 20, 35000000)
});
viewer.entities.add({
position : Cesium.Cartesian3.fromDegrees(179, 40),
point : {
pixelSize : 10,
color : Cesium.Color.YELLOW
}
});
var points = viewer.scene.primitives.add(new Cesium.PointPrimitiveCollection());
points.add({
position: Cesium.Cartesian3.fromDegrees(-179, 30),
color: Cesium.Color.RED,
pixelSize: 10,
});
``