'
+ '
'
+ '
'
+ '
'
+ '
'
+ '
'
+ '
'
+ '
';
gubug = '
'
+ '
'
+ '
'
+ '
'
+ '
'
+ '
'
+ '
'
+ '
';
if (params.data.state[2] === '正常') {
return normal;
}else if(params.data.state[2] === '故障'){
return gubug;
}
}
},
geo: {
map: 'china',
zoom:1.5,
label: {
emphasis: {
show: false
}
},
roam: true,
itemStyle: {
normal: {
areaColor: '#000002',
borderColor: '#404a59'
},
emphasis: {
areaColor: '#2a333d'
}
}
},
series: series,
};