使用产品:IClient3D for WebGL 操作系统:win10 x64
数据类型: 文件型
问题详细描述:远看是正常的,拉近看就间断了
const dataList = [{
x: 114.428051,
y: 38.053584,
z: 5,
}, {
x: 114.429829,
y: 38.048405,
z: 5,
}];
const orangeOutlined = this.viewer.entities.add({
name: 'Orange line with black outline at height and following the surface',
polyline: {
positions: dataList.map((item) => Cesium.Cartesian3.fromDegrees(item.x, item.y, item.z)),
width: 1,
material: new Cesium.PolylineOutlineMaterialProperty({
color: Cesium.Color.RED,
outlineWidth: 0.1,
outlineColor: Cesium.Color.RED,
}),
},
});