Title: Deprecated Google Maps API methods
Last modified: January 24, 2025

---

# Deprecated Google Maps API methods

 *  [Yan Metelitsa](https://wordpress.org/support/users/yanmetelitsa/)
 * (@yanmetelitsa)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/deprecated-google-maps-api-methods/)
 * When open pages with a **Google Maps** field, the following warning is displayed
   in the browser console:
 * >     ```wp-block-code
   >     As of February 21st, 2024, google.maps.Marker is deprecated. Please use google.maps.marker.AdvancedMarkerElement instead. At this time, google.maps.Marker is not scheduled to be discontinued, but google.maps.marker.AdvancedMarkerElement is recommended over google.maps.Marker. While google.maps.Marker will continue to receive bug fixes for any major regressions, existing bugs in google.maps.Marker will not be addressed. At least 12 months notice will be given before support is discontinued. Please see https://developers.google.com/maps/deprecations for additional details and https://developers.google.com/maps/documentation/javascript/advanced-markers/migration for the migration guide.
   >     ```
   > 
 * and (but not so critical)..
 * >     ```wp-block-code
   >     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
   >     ```
   > 

The topic ‘Deprecated Google Maps API methods’ is closed to new replies.

 * ![](https://ps.w.org/secure-custom-fields/assets/icon.svg?rev=3194494)
 * [Secure Custom Fields](https://wordpress.org/plugins/secure-custom-fields/)
 * [Support Threads](https://wordpress.org/support/plugin/secure-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/secure-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/secure-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/secure-custom-fields/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Yan Metelitsa](https://wordpress.org/support/users/yanmetelitsa/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/deprecated-google-maps-api-methods/)
 * Status: not resolved