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

如何对GroupGLLayer里面的图层进行排序?通过setZIndex 设置不生效,图层中有WMSTileLayer TileLayer PointLayer类型 #2491

Open
openforus opened this issue Jan 15, 2025 · 3 comments

Comments

@openforus
Copy link

maptalks's version and what browser you use?
1.0.0-rc.33

Issue description
GroupGLLayer里面的图层排序通过setZIndex 设置不生效

Please provide a reproduction URL (on any jsfiddle like site)

@deyihu deyihu closed this as completed Jan 15, 2025
@openforus
Copy link
Author

@deyihu 谢谢你给出的例子,其实我是知道有这个setZIndex来设置的,最终发现原来是GroupGLLayer加了地形后,在地形渲染的状态是无法对图层排序生效的,这个要生效有没有哪里可以设置?同理在隐藏和显示图层的时候在有地形状态下隐藏图层后隐藏前的图层有残留在地图中,要缩放地图才会刷新清除之前图层隐藏前的图像,这个在有地形的模式有没有方法刷新地图清除图层隐藏后的图形残留?

@deyihu
Copy link
Collaborator

deyihu commented Jan 16, 2025

@fuzhenn

@deyihu deyihu reopened this Jan 16, 2025
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