您好,entity创建之后就会显示出来,使用viewer.zoomTo(entity)可以定位到当前实体的位置,参考代码
var entity = viewer.entities.add({ polygon: { hierarchy: { positions: [new Cesium.Cartesian3(290254.5148736448, 5637924.074937166, 2971777.4768239637), new Cesium.Cartesian3(286432.14053509803, 5640804.651089405, 2966391.9275969476), new Cesium.Cartesian3(283512.2666752818, 5640502.494127799, 2969385.3689191523), new Cesium.Cartesian3(287036.36797237827, 5636827.146248645, 2974105.8904601005) ] }, material: Cesium.Color.BLUE.withAlpha(0.5) } }); AAA.add(entity); viewer.zoomTo(AAA._entities._array[0])