← Back to City Google Maps Support
Hi! I am getting this error:
Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see https://goo.gle/js-api-loading
Can you give some instructions on how to fix this? Thank you!
Edgar
Hello Edgar,
Thank you for your message. I’ll look into this issue.
The JavaScript is currently included here: https://github.com/Ci-ty/googlemaps-plugin/blob/main/components/MapDetails.php#L49
Best regards
Hello,
A new version has been released:
- v1.0.1 - Added scripts async loading
Hope this helps.
Regards
Last updated
Hi,
To resolve the error, you should load the Google Maps JavaScript API asynchronously. You can do this by adding the loading=async parameter to your script tag.
Make sure to replace YOUR_API_KEY with your actual API key, and initMap should be the name of your initialization function. This change will help improve the performance of your application.
Wow, this map tool looks really neat! It reminds me of how I used to pour over maps trying to find all the locations supposedly linked to Fnaf – you know, piecing together lore. It's amazing what people can do with tools like these! Speaking of which, if you're ever looking for a place to play the games, check out Fnaf online. This manager seems much easier to use than some I've tried before.
This looks really neat! Reminds me of the simplicity of some old-school games. You know, like when I'm taking a break, I love playing Retro Bowl. It's so addictive! This map tool seems like it could be really useful, especially with all those customization options you mentioned. Definitely going to check it out! Thanks for sharing.
That sounds really useful! I've always struggled to make Google Maps look presentable in my presentations. A flexible manager and easy-to-use options are a huge plus. Speaking of user-friendly platforms, if you're a basketball fan, you should check out Basketball Stars. It's surprisingly addictive for a quick game.
This looks really interesting! Kind of reminds me of playing [url=https://drivemadfree.com]Drive Mad[/url]. Remember how fun it was trying to navigate those crazy courses in Drive Mad? It's cool to see a tool that gives you so much control and customization for maps. Definitely going to give this a try and see what I can create. Thanks for sharing!
1-8 of 8