-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Use case
The following deprecation notice is starting to show when using regular markers:
As of February 21st, 2024,
google.maps.Markeris deprecated. Please usegoogle.maps.marker.AdvancedMarkerElementinstead.At this time,
google.maps.Markeris not scheduled to be discontinued, butgoogle.maps.marker.AdvancedMarkerElementis recommended overgoogle.maps.Marker.While
google.maps.Markerwill continue to receive bug fixes for any major regressions, existing bugs ingoogle.maps.Markerwill 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.
We should explore ways to use AdvancedMarkerElements instead of Markers.
The web plugin uses (now) Legacy Markers, which aren't very powerful compared to their mobile counterparts.
Users have complained about the lack of customization, like:
- size
- hue rotation (different colors)
- marker rotation (actually rotate the marker around its center)
Proposal
Migrate to Advanced Markers: