修改地图颜色
parent
939988493d
commit
31c215ced3
|
@ -20,33 +20,15 @@ const option = reactive({
|
||||||
map: 'tmsk',
|
map: 'tmsk',
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
normal: {
|
normal: {
|
||||||
areaColor: '#013C62',
|
areaColor: '#26c4eb',
|
||||||
|
borderWidth: 0,
|
||||||
shadowColor: '#182f68',
|
shadowColor: '#182f68',
|
||||||
shadowOffsetX: 0,
|
shadowOffsetX: 0,
|
||||||
shadowOffsetY: 25
|
shadowOffsetY: 25
|
||||||
},
|
|
||||||
emphasis: {
|
|
||||||
areaColor: '#2AB8FF',
|
|
||||||
borderWidth: 0,
|
|
||||||
color: 'green',
|
|
||||||
label: {
|
|
||||||
show: false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
series: [{
|
series: [{
|
||||||
type: 'map',
|
|
||||||
mapType: 'tmsk',
|
|
||||||
label: {
|
|
||||||
show: true
|
|
||||||
},
|
|
||||||
itemStyle: {
|
|
||||||
color: '#999',
|
|
||||||
borderWidth: 1,
|
|
||||||
},
|
|
||||||
shading: 'color'
|
|
||||||
}, {
|
|
||||||
//设置为分散点
|
//设置为分散点
|
||||||
type: 'scatter',
|
type: 'scatter',
|
||||||
//series坐标系类型
|
//series坐标系类型
|
||||||
|
|
Loading…
Reference in New Issue