We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Series中有多组地图数据时,地图下钻后全国地图和省市地图会重叠 series : [ { name: '未达标省市', type: 'map', mapType: 'china', data:[ {name: '内蒙古',value: 20}, {name: '河北',value: 30} ] }, { name: '达标省市', type: 'map', mapType: 'china', selectedMode : 'single', itemStyle:{ normal:{label:{show:true}}, emphasis:{label:{show:true}} }, data:[ {name: '重庆市',value: Math.round(Math.random()*1000)} ] } ]
下钻后新疆地图和全国地图重叠。
The text was updated successfully, but these errors were encountered:
看你代码怎么写的,ec支持多个地图同时出现。
Sorry, something went wrong.
这个就是相当于出现了两个地图,通过 mapLocation可以定位让它们不重叠,但是怎样使它只出现一个地图呢
图都是你的option定义的,你的option.series里有两个地图类型的系列
No branches or pull requests
Series中有多组地图数据时,地图下钻后全国地图和省市地图会重叠
series : [
{
name: '未达标省市',
type: 'map',
mapType: 'china',
data:[
{name: '内蒙古',value: 20},
{name: '河北',value: 30}
]
},
{
name: '达标省市',
type: 'map',
mapType: 'china',
selectedMode : 'single',
itemStyle:{
normal:{label:{show:true}},
emphasis:{label:{show:true}}
},
data:[
{name: '重庆市',value: Math.round(Math.random()*1000)}
]
}
]
下钻后新疆地图和全国地图重叠。
The text was updated successfully, but these errors were encountered: