鼠标移入透明
itemStyle下 emphasis属性
itemStyle : { normal : { areaColor : { type : 'linear-gradient' , x : 0 , y : 300 , x2 : 0 , y2 : 0 , colorStops : [ { offset : 0 , color : 'rgba(0,0,0, 1)' , } , { offset : 1 , color : 'rgba(0,0,0, 0)' , } , ] , global : true , } , } , emphasis : { shadowColor : 'rgba(0, 0, 0, 1)' , shadowBlur : 10 , shadowOffsetX : 5 , shadowOffsetY : 5 , areaColor : { type : 'linear-gradient' , x : 0 , y : 0 , x2 : 0 , y2 : 1 , colorStops : [ { offset : 0 , color : 'rgba(243, 174, 48, 0)' , } , { offset : 1 , color : 'rgba(243, 174, 48, 0)' , } , ] , } , } , } ,
series : [ { type : 'map' , map : 'area' , selectedMode : 'single' , aspectScale : 0.73 , layoutCenter : [ '50%' , '51%' ] , layoutSize : '100%' , itemStyle : { normal : { areaColor : { type : 'linear-gradient' , x : 0 , y : 300 , x2 : 0 , y2 : 0 , colorStops : [ { offset : 0 , color : 'rgba(0,0,0, 1)' , } , { offset : 1 , color : 'rgba(0,0,0, 0)' , } , ] , global : true , } , } , emphasis : { shadowColor : 'rgba(0, 0, 0, 1)' , shadowBlur : 10 , shadowOffsetX : 5 , shadowOffsetY : 5 , areaColor : { type : 'linear-gradient' , x : 0 , y : 0 , x2 : 0 , y2 : 1 , colorStops : [ { offset : 0 , color : 'rgba(243, 174, 48, 0)' , } , { offset : 1 , color : 'rgba(243, 174, 48, 0)' , } , ] , } , } , } , label : { normal : { show : true , fontFamily : 'SourceHanSansCN' , fontSize : '14' , color : '#FEFEFE' , } , emphasis : { show : true , fontFamily : 'SourceHanSansCN' , fontSize : '14' , color : '#FEFEFE' , } , } , zlevel : 1 , data : outdata, } , ] ,