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

echartsGL绘制的时候,调用echarts.clear()方法清空报错 #181

Closed
sunshine920103 opened this issue Jan 29, 2018 · 3 comments
Closed
Labels

Comments

@sunshine920103
Copy link

echartsGL绘制的时候,调用echarts.clear()方法清空报错,是GL中有了别的方法清空画布了吗?

@pissang
Copy link
Contributor

pissang commented Jan 30, 2018

怎么样的代码?报了什么错?

@sunshine920103
Copy link
Author

你好,我们在使用echartsGL时,需要完成一个地图下钻的效果,但是从全国一级到了省一级之后,省份界面会显示全国的一个地图轮廓。我们初步怀疑是缓存的问题,然后通过设置了notMerge参数为true,可以解决轮廓问题,但是当点击全国地图的某个省之后就会控制台报错。
image
跟踪进去之后是echart-gl-min.js文件的这段代码:
image
image

@pissang pissang added the bug label Jan 30, 2018
pissang added a commit to pissang/claygl that referenced this issue Jan 30, 2018
@pissang
Copy link
Contributor

pissang commented Jan 30, 2018

新发布的 1.0.2 已修复

@pissang pissang closed this as completed Jan 30, 2018
pinelix74 added a commit to pinelix74/claygl that referenced this issue Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants