From 76dd488c026c17c0aa3dda4c401a4b7893d02214 Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Fri, 17 Oct 2025 08:52:29 +0000
Subject: [PATCH] 更新包同步到1.0.26

---
 src/example/ExampleDrawPage.js |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/example/ExampleDrawPage.js b/src/example/ExampleDrawPage.js
index 4e77aac..b38f919 100644
--- a/src/example/ExampleDrawPage.js
+++ b/src/example/ExampleDrawPage.js
@@ -251,6 +251,19 @@
         }
     };
 
+    showOptions2 = () => {
+
+        this.mapFunction.mapApiService.showDrawDatas([{
+            type: 'lddkgrps',
+            bj: 1,
+            qsjd: 30,
+            zzjd: 75,
+            lon: 102.72004539488224, lat: 30.991068100060593, height: 0,
+            useModify: false
+        }]);
+
+    }
+
 
     async draw(option) {
         this.closeUpdate();
@@ -261,7 +274,7 @@
         delete option.height;
         let p = await this.mapFunction.mapApiService.draw(option);
         p.drawEnd.subscribe(value => {
-            alert(p.export());
+            // alert(p.export());
         })
         this.drawOps.push(p);
     }
@@ -414,6 +427,7 @@
                          showDefaultLayer={true}
                     />
                 </div>
+                <Button type="primary" onClick={this.showOptions2.bind(this)}>2222</Button>
                 <Button type="primary" onClick={this.showOptions.bind(this)}>显示已有标绘数据</Button>
                 {buttons}
                 <Button type="primary" onClick={this.export.bind(this)}>导出绘制配置</Button>

--
Gitblit v1.9.3