添加边框

This commit is contained in:
2025-08-19 17:28:32 +08:00
parent 8eb1bd98cc
commit e342fa1d80

View File

@ -33,8 +33,7 @@ class DrawThreeRect extends Draw {
}, },
polyline: { polyline: {
positions: new Cesium.CallbackProperty((e) => { positions: new Cesium.CallbackProperty((e) => {
// return that.positions.concat(that.positions[0]) return that.positions.concat(that.positions[0])
return that.positionsLine
}), }),
width: 2, width: 2,
material: Cesium.Color.fromCssColorString('#c1c505').withAlpha(0.5), material: Cesium.Color.fromCssColorString('#c1c505').withAlpha(0.5),