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版本
---
src/example/ExampleXzxxPage.js | 44 +++++++++++++++++++++++++++++++++++++++++---
1 files changed, 41 insertions(+), 3 deletions(-)
diff --git a/src/example/ExampleXzxxPage.js b/src/example/ExampleXzxxPage.js
index fea9c7d..7546dac 100644
--- a/src/example/ExampleXzxxPage.js
+++ b/src/example/ExampleXzxxPage.js
@@ -21,6 +21,8 @@
lat: 31.005468100060593,
height: 0,
points: [],
+ text: '123',
+ showText: true,
iconSize: [[20, 20], [30, 30], [40, 40]]
},
"目标醒目": {
@@ -30,6 +32,8 @@
bzlx: 'simple',
jbwb: 'R:00017',
xz: true,
+ text: '333333',
+ showText: true,
xzColor: '#00ff00',
xx: true,
xxColor: '#ff0000',
@@ -58,12 +62,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',
- bkkd: 10,
- color: '#64c324',
- color2: '#6932cc',
+ bkkd: 4,
+ color2: '#e30000',
+ color: '#babaff',
useModify: false,
points: [{
lon: 103.73554539488224,
@@ -71,6 +91,23 @@
height: 0,
}, {
lon: 104.73554539488224,
+ lat: 32.005068100060593,
+ 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,
}]
@@ -209,6 +246,7 @@
this.mapFunction = e
}
}
+ map2_5D={true}
useSvgIcon={true}
iconScales={[[0, 2000], [2000, 10000], [10000, 5000000]]}
plotUrl={this.state.plotUrl}
--
Gitblit v1.9.3