From 751e479ce4e26e2d61160ba5c3c1cd2c85c28221 Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Tue, 27 Jan 2026 16:09:18 +0000
Subject: [PATCH] 增加参数allowPicking,用于判断是否允许点击,适用所有组件
---
src/example/ExampleFlyPage.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/example/ExampleFlyPage.js b/src/example/ExampleFlyPage.js
index 4516f7d..640bdc5 100644
--- a/src/example/ExampleFlyPage.js
+++ b/src/example/ExampleFlyPage.js
@@ -81,7 +81,8 @@
"useModify": false,
"lon": arr[0].lon,
"lat": arr[0].lat,
- "height": arr[0].height || 0,
+ xz: true,
+ "height": arr[0].height,
points: []
}
this.mapFunction.mapApiService.showDrawDatas([option]);
@@ -90,6 +91,7 @@
this.mapFunction.mapApiService.updateDraw("ccccc", {
lon: arr[number].lon,
lat: arr[number].lat,
+ height: arr[number].height,
points: arr.slice(0, number)
});
});
--
Gitblit v1.9.3