Issues Integrating Google Maps and deck.gl with Pinia Store in Vue.js #10776
Unanswered
riplatt
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm currently working on a Vue.js project using google-maps and deck.gl for rendering maps with additional data layers. The integration works perfectly when I use them in a Vue component. However, I encounter issues when I try to implement the same functionality inside a Pinia store; the map renders, but the deck.gl layers do not display.
Here’s how I set up the map and layers in the Vue component, where it works:
And here is how I'm attempting to use it within a Pinia store:
The store method initMap is called, but the layers do not display as expected or at all. Is there something specific about how Pinia manages reactivity or state that could be interfering with how deck.gl layers are initialised and rendered? Any suggestions or insights on how to resolve this issue would be greatly appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions