🐛 [BUG]使用L7集成threejs,使用gltf作为layer,出现图层崩溃的bug
xiaonanfeng opened this issue · comments
🐛 Bug description [Please make everyone to understand it]
Please provide a link by forking these links L7 Draw or GitHub repo, a minimal reproduction.
这个bug比较隐蔽,具体是webgl崩溃引起的,代码太多不好提供。
- Required Link to minimal reproduction:
📷 Step to reproduce
1,使用L7的RasterLayer加载本地xyz瓦片。
2,使用scene addImage 加载本地图片资源。
3,集成threejs,并且加载gltf图层。
4,使用L7Darw画图形的时候,整个RasterLayer会被 addImage使用的资源覆盖。
5,控制台中,显示WebGL: INVALID_ENUM: activeTexture: texture unit out of range
🏞 Expected result
🚑 Any additional [like screenshots]
- L7Draw Version:
- Platform: