Skip to content

Commit c104c2a

Browse files
committed
修改默认配置
1 parent 71bdc92 commit c104c2a

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

src/config/PointConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
},
2424
style: {
2525
normal: {
26-
size: 3,
26+
size: 5,
2727
borderWidth: 0.1,
28-
backgroundColor: 'rgba(200, 200, 200, 0.5)',
28+
backgroundColor: 'rgba(200, 200, 50, 1)',
2929
mergeCount: 1.5,
3030
unit: 'px', // px or m
3131
label: {

src/config/PolygonConfig.js

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,23 @@
2121
style: {
2222
isHighlight: false,
2323
normal: {
24-
borderWidth: 0.1,
25-
backgroundColor: 'rgba(200, 200, 200, 0.5)',
26-
mergeCount: 1.5,
24+
backgroundColor: 'rgba(0,133,235,0.6)',
25+
borderWidth: 1.5,
2726
label: {
2827
enable: true,
29-
show: false,
30-
color: 'rgba(0,0,0,1)',
31-
font: '13px Arial'
32-
},
28+
show: true,
29+
font: '13px bold ',
30+
color: '#fff'
31+
}
32+
},
33+
mouseOver: {
34+
shadowColor: 'rgba(0, 0, 0, 1)',
35+
shadowBlur: 10,
36+
borderWidth: 1.5,
37+
label: {
38+
color: 'rgba(0, 0, 0, 1)'
39+
}
3340
},
34-
3541
colors: [
3642

3743
],

0 commit comments

Comments
 (0)