You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building an app which uses geojson data and it's necesary to show it in a Map (Openlayers)
Everything seems to work fine when i touch some code (inserting a space ) in Component Setup and vite it's reload so the map is shown properly, but never before.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to implement your library into a Quasar (vite) app, and i'm getting some problems to show the map up.
im working with Quasar with Vite, pwa mode, with
Vue3-Openlayers and Pinia as data store.
I'm building an app which uses geojson data and it's necesary to show it in a Map (Openlayers)
Everything seems to work fine when i touch some code (inserting a space ) in Component Setup and vite it's reload so the map is shown properly, but never before.
The Vue structure
The Pinia Store loaded without displaying the map
The page not showing the map
The page showing the map after inserting an space in setup block
The DetailedMap Component is used in CanyonLayout component.
The Pinia Store is populated by calling an async action in onBeforeMount hook on CanyonLayout component
which populates two objects in store:
so we use the loaded data in out child (DetailedMap) component in this way:
Beta Was this translation helpful? Give feedback.
All reactions