maptalks / issues

Repo of issues for webgl layers
3 stars 0 forks source link

GroupGL 中叠层顺序问题 #750

Closed ydfzgyj closed 3 weeks ago

ydfzgyj commented 1 month ago

maptalks's version and what browser you use?

maptalks-gl@0.99.2

Issue description

当 TileLayer、ImageLayer 等 canvas 图层加入 GroupGLLayer,并

  1. 在 TileLayer 等图层的配置中设置 depthMask: false
  2. 在 GroupGLLayer 的配置中开启后处理

TileLayer、ImageLayer 等图层将会始终显示在 VectorTileLayer 等矢量图层下方,调整 zIndex 无效

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

https://codepen.io/ydfzgyj/pen/NWQPQbR

fuzhenn commented 1 month ago

通过去掉对fxaa的支持,开启后处理后,也会按图层顺序来绘制。