a14n / dart-google-maps

A library to use Google Maps JavaScript API v3 from Dart scripts.
Apache License 2.0
130 stars 66 forks source link

[google_maps] Add AdvancedMarkerElement to resolve deprecation #129

Closed Imma76 closed 4 months ago

Imma76 commented 7 months ago

I keep getting this warming when I build for web.

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.

a14n commented 7 months ago

I started working on a new version but it is a full rewrite and will take some time to land.

a14n commented 4 months ago

Should be usable in google_maps-8.0.0