Skip to content
New issue

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中有多组地图数据时,地图下钻后全国地图和省市地图会重叠 #704

Closed
xiaorongrongcc opened this issue Sep 22, 2014 · 3 comments

Comments

@xiaorongrongcc
Copy link

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)}
]
}
]
1

下钻后新疆地图和全国地图重叠。

@kener
Copy link
Contributor

kener commented Sep 22, 2014

看你代码怎么写的,ec支持多个地图同时出现。

@xiaorongrongcc
Copy link
Author

这个就是相当于出现了两个地图,通过 mapLocation可以定位让它们不重叠,但是怎样使它只出现一个地图呢

@kener
Copy link
Contributor

kener commented Sep 22, 2014

图都是你的option定义的,你的option.series里有两个地图类型的系列

@kener kener closed this as completed Oct 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants