From bdacd0fd6fc9265f1f68728f0c90ce58724e3b6b Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Thu, 12 Mar 2026 07:53:39 +0000
Subject: [PATCH] 增加共点测试

---
 src/FirstPage.js |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/src/FirstPage.js b/src/FirstPage.js
index 4276f88..39521c8 100644
--- a/src/FirstPage.js
+++ b/src/FirstPage.js
@@ -9,6 +9,28 @@
     }
 
     componentDidMount() {
+
+        let arr2 = [{
+            bz: false,
+            bzlx: 'simple',
+            jbwb: 'R:00000',
+            allowPicking: false,
+            returnHeight: true,
+            useModify: false,
+            type: 1004,
+            lon: 102.71004539488224, lat: 30.990068100060593, height: 0,
+            points: [],
+            iconSize: [[20, 20], [20, 20], [40, 40]]
+        }, {
+            allowPicking: false,
+            type: "lddkzcqy",
+            bj: 22,
+            qsjd: 30,
+            zzjd: 75,
+            lon: 102.71004539488224, lat: 30.990068100060593, height: 0,
+            useModify: false,
+        }];
+        this.mapFunction.mapApiService.showDrawDatas(arr2);
     }
 
 
@@ -20,6 +42,7 @@
                 }}
                      plotUrl={this.state.plotUrl}
                      mapRef={this}
+                     iconScales={[[0, 2000], [2000, 10000], [10000, 5000000]]}
                 />
             </div>
         )

--
Gitblit v1.9.3