ionic-team / capacitor-plugins

Official plugins for Capacitor ⚡️

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

google.maps.Marker is deprecated

jcesarmobile opened this issue · comments

Bug Report

Plugin(s)

@capacitor/google-maps

Capacitor Version

5.x

Platform(s)

web

Current Behavior

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.

Expected Behavior

not use deprecated code

Code Reproduction

https://github.com/ionic-team/capacitor-plugins/tree/main/google-maps/e2e-tests

Other Technical Details

Additional Context

This issue has been labeled as type: bug. This label is added to issues that that have been reproduced and are being tracked in our internal issue tracker.