Problem loading google maps in web application

Asked

Viewed 282 times

0

I have a hosted website, and I use the Google Maps Javascript API in the application. The problem that is happening, is that the maps does not always load, often it is necessary to update the page to in some of the attempts it load correctly. At no time does the API point out any error in the browser console.

I’ve already managed the console API key.developers.google.com/Apis/.

Note that in localhost maps works perfectly, always loads (localhost API key other than the hosted site).

Something similar has happened to someone, some idea of what might be?

Thank you!

  • Are you using a specific version? Can you link to the version in use? That would be: https://developers.google.com/maps/documentation/javascript/adding-a-google-map ?

  • With this javascript command "google.maps.version" I got the version of Google Maps Javascript API used in my application, which returned "3.30.10"

  • Can you post the code so we can take a look? You have followed the example available at: https://developers.google.com/maps/documentation/javascript/adding-a-google-map ?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.