From ebab191767e28d8c3cb24f8c376c67fa69709c8c Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Tue, 09 Dec 2025 07:52:37 +0000
Subject: [PATCH] add

---
 src/example/ExampleXzxxPage.js |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/example/ExampleXzxxPage.js b/src/example/ExampleXzxxPage.js
index d47e048..fea9c7d 100644
--- a/src/example/ExampleXzxxPage.js
+++ b/src/example/ExampleXzxxPage.js
@@ -153,6 +153,14 @@
                 options.push(this.optionObjs[key]);
             }
             this.mapFunction.mapApiService.showDrawDatas(options);
+
+            // this.mapFunction.mapApiService.draw(options[0]);
+            // setTimeout(() => {
+            //     let p = this.mapFunction.mapApiService.getDraw(options[0].code);
+            //     p.drawEnd.subscribe(value => {
+            //         alert(p.export());
+            //     })
+            // })
         }
     };
 
@@ -206,6 +214,7 @@
                          plotUrl={this.state.plotUrl}
                          mapRef={this}
                          showDefaultLayer={false}
+                         global={[102.5, 30.5, 103.5, 31.5]}
                     />
                 </div>
                 <Button type="primary" onClick={this.showOptions.bind(this)}>显示已有标绘数据</Button>

--
Gitblit v1.9.3