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

格网热力图等,设置angle,coverage等参数不及时更新 #2520

Open
SuperHuZhiPeng opened this issue Jun 4, 2024 · 2 comments
Open
Assignees

Comments

@SuperHuZhiPeng
Copy link

问题描述

写一个按钮通过.style方法去更新上述参数,点击按钮后不生效,需要缩放或者点击一下地图才生效

重现链接

https://stackblitz.com/edit/react-xv9bcw?file=index.html,index.js,package.json

重现步骤

进入页面,点击“改变角度”按钮,角度不会立刻改变,需要缩放或者点击一下地图,图层样式才会更新

预期行为

我期望通过.style方法设置参数,地图上的图层样式能立刻更新

平台

Windows- Google Chrome,

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

Copy link
Contributor

github-actions bot commented Jun 4, 2024

Hi @SuperHuZhiPeng, Please star this repo if you find it useful! Thanks ⭐!
你好~ @SuperHuZhiPeng 🌟 如果这个仓库对你有帮助,可以给我们点个star支持一下~你的支持对我们来说是最大的鼓励,感谢你的支持与点赞 🌟

@lvisei
Copy link
Member

lvisei commented Jun 4, 2024

改变 style 之后,调一下 scene.render 方法

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

3 participants