antvis / L7

🌎 Large-scale WebGL-powered Geospatial Data Visualization analysis engine.
https://l7.antv.antgroup.com
MIT License
3.66k stars 635 forks source link

使用ImageLayer, 定时更新source后出现 错误Cannot read properties of undefined (reading 'texture') #2617

Open netdolphin opened 1 month ago

netdolphin commented 1 month ago

问题描述

vue3环境,"@antv/l7": "^2.22.1", "@antv/l7-maps": "^2.22.1"

使用ImageLayer,把气象云图(png),通过定时更换source的方法展现云图变化。

不定时(10s或者半分钟)报错, index-B0fKxRTD.js:5799 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'texture')

也考虑是否图片地址失效,但是测试发现图片都正常的

重现链接

No response

重现步骤

No response

预期行为

No response

平台

屏幕截图或视频(可选)

image image

补充说明(可选)

No response

github-actions[bot] commented 1 month ago

hi @netdolphin, welcome!