Skip to content

🐛 [BUG]使用L7集成threejs,使用gltf作为layer,出现图层崩溃的bug #158

@xiaonanfeng

Description

@xiaonanfeng

🐛 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]

image

  • L7Draw Version:
  • Platform:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions