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

图例开关在china地图中实效 #1554

Closed
sky20054122 opened this issue May 18, 2015 · 1 comment
Closed

图例开关在china地图中实效 #1554

sky20054122 opened this issue May 18, 2015 · 1 comment

Comments

@sky20054122
Copy link

在标准地图example中http://echarts.baidu.com/doc/example/map1.html
有iphone3 iphone4 iphone5三个图例,点击iphone3图例可以关闭iphone3的销量显示,但是却不能单独关闭iphone4或者iphone5的图例

关闭图例iphone3的效果:
image

@sky20054122
Copy link
Author

如果把

   roamController: {
        show: true,
        x: 'right',
        mapTypeControl: {
            'china': true
        }
    },

这段代码去掉,图例开关可以正常使用。

如果把

   roamController: {
        show: false,
        x: 'right',
        mapTypeControl: {
            'china': true
        }
    },

这段代码的show改为false 点击图例开关js报错
TypeError: this.rcOption is undefined
image

@redmed redmed closed this as completed in 31a6cec May 26, 2015
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

1 participant