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

旋转 echarts 不会自动更新 #7

Closed
YeeMarco opened this issue May 21, 2020 · 4 comments
Closed

旋转 echarts 不会自动更新 #7

YeeMarco opened this issue May 21, 2020 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@YeeMarco
Copy link

旋转地图或者切换地图视角的时候,echarts其它系列的点不会自动更新。mapmove,zoom之类的可以自动更新。

@plainheart
Copy link
Owner

当前只处理了mapmove、zoom这些事件,地图旋转或者视角切换似乎也没事件可触发,暂时可以在代码里手动调用chart.resize()手动更新下。

@plainheart plainheart added the enhancement New feature or request label May 21, 2020
@YeeMarco
Copy link
Author

对的,我一开始也找了半天的事件,后面发现 拖拽事件,也是可以用在3dmode 的地图上的,好像可以实现。

@plainheart
Copy link
Owner

拖拽是可以的 但是如果用 setPitch 似乎就无法监听了

@YeeMarco
Copy link
Author

手动调用chart.resize()手动更新,可以实现

@plainheart plainheart added this to the 1.3.0 milestone Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants