Title: Google Maps JavaScript API has been loaded directly without loading=async
Last modified: June 24, 2025

---

# Google Maps JavaScript API has been loaded directly without loading=async

 *  Resolved [Isabel Pinhel](https://wordpress.org/support/users/isabelpinhel/)
 * (@isabelpinhel)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/google-maps-javascript-api-has-been-loaded-directly-without-loadingasync-4/)
 * Hi Andrea,
 * Would it be possible for this plugin to load Google Maps API async? I get a warning
   in the console stating it results in suboptimal performance and indeed, lighthouse
   performance results on pages loading google maps via this plugin are not great.
 * Also, a separate warning indicates that “As of March 1st, 2025, google.maps.places.
   Autocomplete is not available to new customers. Please use google.maps.places.
   PlaceAutocompleteElement instead.”. Are there any plans to accommodate this?
 * Many thanks,
 * Isabel

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/google-maps-javascript-api-has-been-loaded-directly-without-loadingasync-4/#post-18527614)
 * Hi Isabel,
 * Thanks for your report!
 * I added “loading=async” in BP Distance Search 1.4.2, but had to remove it in 
   1.4.4 because it didn’t work well on all installations.
 * If you wish, you can try BP Distance Search 1.4.3, which loads the Maps JavaScript
   API asynchronously. You can use [WP Rollback](https://wordpress.org/plugins/wp-rollback/)
   to switch between versions of the plugin. Please let me know if async works for
   you!
 * As for your second point, I’m currently researching the new API and hope to have
   a new version ready as soon as possible.
 *  Thread Starter [Isabel Pinhel](https://wordpress.org/support/users/isabelpinhel/)
 * (@isabelpinhel)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/google-maps-javascript-api-has-been-loaded-directly-without-loadingasync-4/#post-18532800)
 * Hi Andrea,
 * That is great! I look forward to the new version of this plugin accommodating
   the new API.
 * Many thanks,
 * Isabel

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Google Maps JavaScript API has been loaded directly without loading=async’
is closed to new replies.

 * ![](https://ps.w.org/bp-distance-search/assets/icon-128x128.png?rev=2049211)
 * [BP Distance Search](https://wordpress.org/plugins/bp-distance-search/)
 * [Support Threads](https://wordpress.org/support/plugin/bp-distance-search/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-distance-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-distance-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-distance-search/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Isabel Pinhel](https://wordpress.org/support/users/isabelpinhel/)
 * Last activity: [11 months, 2 weeks ago](https://wordpress.org/support/topic/google-maps-javascript-api-has-been-loaded-directly-without-loadingasync-4/#post-18532800)
 * Status: resolved