From c4de1a95624e2f3d257a9777b60028196a3b08fe Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Tue, 09 Dec 2025 02:59:35 +0000
Subject: [PATCH] * 1.0.33 ``` 1、修复双色线异常 2、修复重复加载svg文件的问题,同步解决大量军标点的性能问题。 3、修复2d下比例尺设置的问题 4、修复DrawEnd事件在重启修改时,无法触发的问题。 5、修复2d下触发材料问题 ```

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

diff --git a/src/example/ExampleXzxxPage.js b/src/example/ExampleXzxxPage.js
index adadaf9..fea9c7d 100644
--- a/src/example/ExampleXzxxPage.js
+++ b/src/example/ExampleXzxxPage.js
@@ -61,6 +61,7 @@
         "双色线": {
             type: "line",
             bklx: 'double',
+            bkkd: 10,
             color: '#64c324',
             color2: '#6932cc',
             useModify: false,
@@ -76,7 +77,7 @@
         },
         "通信抗测向线2": {
             type: "txdkcxx2",
-            kcjd: 30,
+            kcjd: 120,
             kcgls: 10,
             kcwb: '123123',
             color: '#0059FFA3',
@@ -113,6 +114,17 @@
                 lat: 32.005068100060593,
                 height: 0,
             }]
+        },
+        "干扰波束": {
+            type: "grbs",
+            color: '#D5013A',
+            useModify: false,
+            lon: 102.23554539488224,
+            lat: 31.005068100060593,
+            height: 0,
+            qsjd: 30,
+            zzjd: 130,
+            bj: 100
         }
     }
     line_star
@@ -131,6 +143,7 @@
             .then(mdText => {
                 this.setState({htmlString: window.marked.parse(mdText)});
             });
+        this.showOptions();
     }
 
     showOptions = () => {
@@ -140,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());
+            //     })
+            // })
         }
     };
 
@@ -193,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