Closed jamie3 closed 2 months ago
Hi, as far as I can tell this is because you haven't given the map anywhere to open on, you must either have a top-level center
or configure the mapOptions
.
See https://stackblitz.com/edit/nuxt-starter-uz9rzi?file=pages%2Findex.vue
I've updated the docs to hopefully make this clearer.
đ The bug
I've followed the instructions to install Nuxt Scripts here https://scripts.nuxt.com/docs/getting-started/installation
Afterwards I followed the instructions to install Google Maps Script in my vue app.
I ran
yarn dev
The http server starts http://localhost:3000. When opening in the browser it shows the map but it is blank/gray. I don't see any JS errors/logs or errors/logs in the nuxt server.
I confirmed that my API key has permissions to use the required APIs.
đ ī¸ To reproduce
https://stackblitz.com/edit/nuxt-starter-pkwfkx?file=README.md
đ Expected behavior
Maps should appear
âšī¸ Additional context