Possible to run map.render(), but for individual layer? #16294
Unanswered
kingkong-cmd
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So, I have been building this custom wind/particle map here: #16196
My computer becomes notably slow/hot after a few seconds of running the animation, so I have started looking for potential reasons. Was wondering if maybe the map.render() function triggers rendering of all layers, and maybe that has something to do with it.
Does map.render() trigger re-render work on all the other layers in the map? It is being run inside animation loop.
If so, is it possible to run map.render() for a single layer exclusively?
My layers:
Animation loop:
Beta Was this translation helpful? Give feedback.
All reactions