City Google Maps

Google Maps with great styles. Flexible manager of maps and data, many options, easy to use.

Back to City Google Maps Support

afonso2022
afonso2022

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

City
City

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

City
City

Hello,

A new version has been released:

  • v1.0.1 - Added scripts async loading

Hope this helps.

Regards

Last updated

eceliahudson3619090207
eceliahudson3619090207

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.

regional.octopus.uoud98476
regional.octopus.uoud98476

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.

silly.prawn.efly98479
silly.prawn.efly98479

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.

actual.krill.kqbs98492
actual.krill.kqbs98492

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.

deliberate.bat.qshs98498
deliberate.bat.qshs98498

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