请问webgl中entity中的这个小红点如何取消
这样添加的,有小红点,怎么取消掉,谢谢 viewer.entities.add({ // id: parseFloat(resultFeatures[i].attributes["SMID"]), id: 255, x:106.57582, y:26.27749, z:1500, name: "X电站", clampToS3M : true, position: Cesium.Cartesian3.fromDegrees(106.57582,26.27749, 1230), point: { pixelSize: 8, color: Cesium.Color.RED, outlineColor: Cesium.Color.RED, outlineWidth: 2 }, billboard: { image: "水电站32.png", width:32, height:32, show : true }, label: { text: "雅砻江电站", font: '16pt monospace', style: Cesium.LabelStyle.FILL_AND_OUTLINE, outlineWidth: 2, verticalOrigin: Cesium.VerticalOrigin.BOTTOM, pixelOffset: new Cesium.Cartesian2(0, -15), fillColor: Cesium.Color.YELLOW }, // description : createDescription(Cesium, [x, y, z]) description : createDescription(Cesium, [106.57582,26.27749, 1000]) });
搞定了,去掉下面这段代码就可以了
point: { pixelSize: 8, color: Cesium.Color.RED, outlineColor: Cesium.Color.RED, outlineWidth: 2 },