perf: overview map优化
This commit is contained in:
@@ -139,6 +139,7 @@
|
||||
};
|
||||
const mapOptions={
|
||||
geo:{
|
||||
itemStyle: {areaColor: "white"},
|
||||
map: '',
|
||||
roam: true,//鼠标是否可以控制缩放
|
||||
center: [67.45, 48],//当前视角的中心点,用经纬度表示
|
||||
@@ -154,7 +155,7 @@
|
||||
},
|
||||
emphasis:{
|
||||
itemStyle: {
|
||||
areaColor:'lightgray'
|
||||
areaColor:'white'
|
||||
}
|
||||
},
|
||||
left:0,
|
||||
@@ -162,8 +163,8 @@
|
||||
right:0,
|
||||
bottom:0,
|
||||
scaleLimit: {
|
||||
min: 3,
|
||||
max: 15
|
||||
min: 4,
|
||||
max: 8
|
||||
}
|
||||
},
|
||||
tooltip : {
|
||||
|
||||
Reference in New Issue
Block a user