From 503c7dec0bfb14280aef86975cd488fe06088842 Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Fri, 27 Feb 2026 14:37:55 +0000
Subject: [PATCH] * 1.0.42 ``` 1、修复2D和2.5D下,通视分析的无法校准的问题 2、修复几个面板排斥的功能。 3、去除比例尺的单位。(比例尺不应该存在单位) ```
---
src/example/ExampleDrawPage.js | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/src/example/ExampleDrawPage.js b/src/example/ExampleDrawPage.js
index b38f919..84064b1 100644
--- a/src/example/ExampleDrawPage.js
+++ b/src/example/ExampleDrawPage.js
@@ -10,6 +10,7 @@
optionObjs = {
"目标简标": {
+ code: '123123',
bz: true,
bzlx: 'simple',
jbwb: 'R:00017',
@@ -239,6 +240,7 @@
.then(mdText => {
this.setState({htmlString: window.marked.parse(mdText)});
});
+ this.showOptions();
}
showOptions = () => {
@@ -252,16 +254,7 @@
};
showOptions2 = () => {
-
- this.mapFunction.mapApiService.showDrawDatas([{
- type: 'lddkgrps',
- bj: 1,
- qsjd: 30,
- zzjd: 75,
- lon: 102.72004539488224, lat: 30.991068100060593, height: 0,
- useModify: false
- }]);
-
+ this.mapFunction.mapApiService.showDrawDatas([this.optionObjs['目标简标']]);
}
--
Gitblit v1.9.3