echarts给整个地图添加外阴影
废话不多说,附上核心代码,可以自己去echarts实例上修改编辑查看效果(https://www.echartsjs.com/examples/zh/index.html):
geo:{
show: true,
map: 'china',
label: {
normal: {
show: false
},
emphasis: {
show: false,
}
},
series: [
{
name: 'china PopEstimates',
type: 'map',
roam: true,
map: 'china',
// 文本位置修正
textFixed: {
Alaska: [20, -20]
}
}
]