添加边框

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: {
positions: new Cesium.CallbackProperty((e) => {
// return that.positions.concat(that.positions[0])
return that.positionsLine
return that.positions.concat(that.positions[0])
}),
width: 2,
material: Cesium.Color.fromCssColorString('#c1c505').withAlpha(0.5),