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

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

Open
netdolphin opened this issue Sep 23, 2024 · 1 comment
Assignees

Comments

@netdolphin
Copy link

问题描述

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

平台

  • 操作系统: [macOS]
  • 网页浏览器: [Google Chrome]

屏幕截图或视频(可选)

image image

补充说明(可选)

No response

Copy link
Contributor

hi @netdolphin, welcome!

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