From 5ab4a3b92564a1ad4c6faf0bdcf8cc3f2958261b 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, 26 Aug 2025 21:58:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Obj/Base/BatchModel/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Obj/Base/BatchModel/index.js b/src/Obj/Base/BatchModel/index.js index 5cec8a2..ab81596 100644 --- a/src/Obj/Base/BatchModel/index.js +++ b/src/Obj/Base/BatchModel/index.js @@ -74,7 +74,7 @@ class BatchModel extends Base { Draw && Draw.start((a, positions) => { this.options.positions = positions; //判断范围是否过大 - if (positions) { + if (positions.length != 0 || positions.lng) { if (options.type == '面') { let posi = positions.map(v => { return Cesium.Cartesian3.fromDegrees(v.lng, v.lat)