From 6ff48d7df4046e92cc2056327717ca7879422c18 Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Tue, 02 Dec 2025 01:08:15 +0000
Subject: [PATCH] 完善文档

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

diff --git a/src/example/ExampleDrawPage.js b/src/example/ExampleDrawPage.js
index 4e77aac..8c59b53 100644
--- a/src/example/ExampleDrawPage.js
+++ b/src/example/ExampleDrawPage.js
@@ -251,6 +251,10 @@
         }
     };
 
+    showOptions2 = () => {
+        this.mapFunction.mapApiService.showDrawDatas([this.optionObjs['目标简标']]);
+    }
+
 
     async draw(option) {
         this.closeUpdate();
@@ -261,7 +265,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 +418,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