使用产品:iclient for webgl
问题详细描述:想绘制一个覆盖全球的面,通过这个添加,请问为什么报错,感觉坐标没错呢
viewer.entities.add({
name: "polygon",
polygon: {
hierarchy: {
positions: Cesium.Cartesian3.fromDegreesArray([
-180, -85,180, -85,180, 85,-180, 85,-180, -85
])
},
material: Cesium.Color.BLUE.withAlpha(0.5),
},
});