google.maps.Marker is deprecated

Created on 3 December 2024, 4 months ago

Problem/Motivation

Console warning:

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-mar... for the migration guide.

Steps to reproduce

Visit a page using a geolocation field.
Check the console.

Proposed resolution

Patch created to replace all instances of 'google.maps.Marker' with 'google.maps.marker.AdvancedMarkerElement'

🐛 Bug report
Status

Active

Version

3.14

Component

Javascript General / Frontend

Created by

🇬🇧United Kingdom sabrina.liman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024