my question is not exactly about code, it is that I am developing a web video game where I am implementing the GoogleMaps API for Javascript and I have encountered the problem that the first time I run the code the browser shows me the map and does not I have no problem.
Map rendered the first time it is run
But when I reload the browser, the map does not re-render and shows me a shadow where the map should be.
[Map not rendered when reloading browser(https://i.stack.imgur.com/NioUx.png)
the first time it runsI hope you can help me.
If I clear the browser data and run it again it works again.
How could I detect if it already has some type of previous configuration or something like that. The console does not show me any errors to know where to go.
Ferran is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2