Skip to content

set feature-state prior to first rendering? #2374

Closed Answered by pdebruic
pdebruic asked this question in Q&A
Discussion options

You must be logged in to vote

The answer to my problem was that I should have only been doing the setFeatureState called in response to a data event and only use the querySourceFeatures to find the features that needed it, and cacheing the ids of the ones I'd set the state for. W

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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 pdebruic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants