【发布时间】:2015-12-24 09:33:07
【问题描述】:
如何在cesiumjs中去除折线,
var p = this.viewer.entities.add({
polyline: {
material: new Cesium.PolylineGlowMaterialProperty({
glowPower: 0.7,
color: Cesium.Color.ORANGE.withAlpha(0.7)
}),
positions: Cesium.Cartesian3.fromDegreesArrayHeights(points),
width: 15,
}
});
我使用了entities.removeAll(),但它正在从铯容器中删除整个数据(包括模型等)。我只想删除折线。
【问题讨论】:
标签: cesium