简体   繁体   中英

Google Maps Javascript API v3 - Maps Are not Loading

I'm having quite a bit of difficulty with the implementation of the Google Maps Javascript API on my website. I followed Google's documentation when I integrated the map and had it appear and resize appropriately.

Now when I implemented this, it ran perfectly when viewing my local html files in browser. But the moment I uploaded my .js and .html files to my Amazon S3 website, the maps only work intermittently.

Sometimes the maps show up, sometimes I have to refresh 2-3 times to see the map. Some days it just never shows up.

Here are some sample pages on my site (all the way at the bottom) http://plangaroo.com/pointreyes.html http://plangaroo.com/srilanka-bentota1.html

Help?

<script src="js/gmap-pointreyes.js" async defer></script>删除async defer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM