How can I know that the "Awaiting state lifecycle" is over #9262
Unanswered
just-website
asked this question in
Q&A
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Deck ver. 9.0.35
I use deck and Mapbox Overlay.
I want to bind my app strore state and inner state deckGL as early as possible.
I try to call
myCompositeLayer.setState(newState)
insidemap.onLoad
callback. And even though the Deck layers are ready, I get an error'Cannot convert undefined or null to object'
. As I see it, this is because the internal_initialize()
method has not yet been called from the LayerManager.Is there an event after which
layer.setState()
can be called the first time?Beta Was this translation helpful? Give feedback.
All reactions