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

调用MapVLayer的clearData方法时报错 #5

Closed
zhang6685979 opened this issue Feb 26, 2018 · 4 comments
Closed

调用MapVLayer的clearData方法时报错 #5

zhang6685979 opened this issue Feb 26, 2018 · 4 comments

Comments

@zhang6685979
Copy link
Contributor

报this.canvasLayer.setZIndex is not a function错误

@songyumeng
Copy link
Member

谢谢你提的issue,可以提供更清楚的信息吗?(for leaflet,for ol,for mapboxgl还是iclient classic,重现步骤等),或者提供可重现的代码、文件。

@zhang6685979
Copy link
Contributor Author

for mapboxgl

官网中的这个例子:(http://supermap.com:8090/iserver/iClient/forJavaScript/examples/mapboxgl/editor.html#mapvQianxi)
我想通过动态的数据渲染图层中的效果,数据更改时清除掉原有的数据重新渲染,但是在调用MapVLayer的clearData方法时报错

@songyumeng
Copy link
Member

Fix by 2f13c74

@songyumeng
Copy link
Member

下个版本上线,或者使用 dist 下的临时版本

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