From 6f475ec20efbbb91d5d3d012284eeaa5b0a0bab0 Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Fri, 27 Mar 2026 05:55:15 +0000
Subject: [PATCH] 使用50版本

---
 public/example/ExampleXzxxPage.md |   66 +++++++++++++++++++++++++++++++-
 1 files changed, 63 insertions(+), 3 deletions(-)

diff --git a/public/example/ExampleXzxxPage.md b/public/example/ExampleXzxxPage.md
index c2e2b87..dc6ec9d 100644
--- a/public/example/ExampleXzxxPage.md
+++ b/public/example/ExampleXzxxPage.md
@@ -25,6 +25,8 @@
             lat: 31.005468100060593,
             height: 0,
             points: [],
+            text: '123',
+            showText: true,
             iconSize: [[20, 20], [30, 30], [40, 40]]
         },
         "目标醒目": {
@@ -34,6 +36,8 @@
             bzlx: 'simple',
             jbwb: 'R:00017',
             xz: true,
+            text: '333333',
+            showText: true,
             xzColor: '#00ff00',
             xx: true,
             xxColor: '#ff0000',
@@ -62,11 +66,28 @@
             }]
         },
 
+        "单色线": {
+            type: "line",
+            bklx: 'solid',
+            bkkd: 2,
+            color: '#e30000',
+            useModify: false,
+            points: [{
+                lon: 103.72554539488224,
+                lat: 31.005068100060593,
+                height: 0,
+            }, {
+                lon: 104.72554539488224,
+                lat: 32.005068100060593,
+                height: 0,
+            }]
+        },
         "双色线": {
             type: "line",
             bklx: 'double',
-            color: '#64c324',
-            color2: '#6932cc',
+            bkkd: 4,
+            color2: '#e30000',
+            color: '#babaff',
             useModify: false,
             points: [{
                 lon: 103.73554539488224,
@@ -78,9 +99,26 @@
                 height: 0,
             }]
         },
+        "双色线2": {
+            type: "line",
+            bklx: 'double',
+            bkkd: 4,
+            color2: '#e30000',
+            color: '#baffba',
+            useModify: false,
+            points: [{
+                lon: 103.74554539488224,
+                lat: 31.005068100060593,
+                height: 0,
+            }, {
+                lon: 104.74554539488224,
+                lat: 32.005068100060593,
+                height: 0,
+            }]
+        },
         "通信抗测向线2": {
             type: "txdkcxx2",
-            kcjd: 30,
+            kcjd: 120,
             kcgls: 10,
             kcwb: '123123',
             color: '#0059FFA3',
@@ -117,6 +155,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
@@ -135,6 +184,7 @@
             .then(mdText => {
                 this.setState({htmlString: window.marked.parse(mdText)});
             });
+        this.showOptions();
     }
 
     showOptions = () => {
@@ -144,6 +194,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());
+            //     })
+            // })
         }
     };
 
@@ -192,11 +250,13 @@
                             this.mapFunction = e
                         }
                     }
+                         map2_5D={true}
                          useSvgIcon={true}
                          iconScales={[[0, 2000], [2000, 10000], [10000, 5000000]]}
                          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