From e342fa1d80f6e71426c8fbf770666c62463ceccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E5=A4=A7=E8=83=86?= <1101282782@qq.com> Date: Tue, 19 Aug 2025 17:28:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=BE=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Draw/drawThreeRect.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Draw/drawThreeRect.js b/src/Draw/drawThreeRect.js index a6fa819..f77600c 100644 --- a/src/Draw/drawThreeRect.js +++ b/src/Draw/drawThreeRect.js @@ -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),