Title: Javascript API Console Warning
Last modified: February 13, 2024

---

# Javascript API Console Warning

 *  Resolved [Frank Gomez](https://wordpress.org/support/users/frank6tg/)
 * (@frank6tg)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/javascript-api-console-warning/)
 * 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](https://goo.gle/js-api-loading)
   js?libraries
   =places&key=AIzaSyDZWKaNZXB-Y1NsTwTjS7qVVHHnyOYQzlo&callback=Function.prototype:
   283
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-api-console-warning%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [DylanAuty](https://wordpress.org/support/users/dylanauty/)
 * (@dylanauty)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/javascript-api-console-warning/#post-17420644)
 * Hi Frank (@frank6tg),
 * Thank you for getting in touch, we do appreciate it. Although we do support async
   loading we do not load this way by default. With that said there are plugins 
   available that allow you to load assets in this way if preferred.
 * The warning in this case is a new recommendation from the Google Maps API, but
   is not a requirement. As a result, it is up to the site owner to determine how
   they prefer the API to be loaded.
 * With that said, we will be adding an option to load assets in this way by default
   in the future. I hope that helps clear this up. 🙂

Viewing 1 replies (of 1 total)

The topic ‘Javascript API Console Warning’ is closed to new replies.

 * ![](https://ps.w.org/wp-google-maps/assets/icon-256x256.png?rev=3058363)
 * [WP Go Maps - Google Maps, OpenStreetMap, Leaflet Map](https://wordpress.org/plugins/wp-google-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-maps/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [DylanAuty](https://wordpress.org/support/users/dylanauty/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/javascript-api-console-warning/#post-17420644)
 * Status: resolved