Skip to content
Discussion options

You must be logged in to vote

After setting the variable property for visible and modifying the variable

Modifying a variable after it is used does not change the previous result. This is not how JavaScript works.

See https://deck.gl/docs/developer-guide/using-layers#updating-layers if you want to change a layer's prop.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by chrisgervang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #9844 on November 20, 2025 06:52.