Issue: Custom map styling is only visible for one second and then changes back to default. #78
-
Hello, I would like to change the styling of my map and I followed the documentation for the implementation: https://vue-map.netlify.app/components/map.html#provide-your-own-style However, for some reason I have the problem that the map style is only visible for a second when reloading and then the map is reloaded and the default map style is visible again. Does anyone know how I can fix this issue? Here is the code I use for the Vue component. I would be very glad to receive a reply. Many greetings google-maps-custom-styling-issue.mov |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@felixranesberger
Look at developer console, if you have some errors. |
Beta Was this translation helpful? Give feedback.
@felixranesberger
As i can see, you do not have Maps API key, this overwritten styles are shown over maps without a valid key.
Have you provided a valid API key while initiating the plugin?
Look at developer console, if you have some errors.