inocan-group / vue3-google-map

A set of composable components for easy use of Google Maps in your Vue 3 projects.
https://vue3-google-map.com
MIT License
296 stars 60 forks source link

Deprecation Warning #290

Closed magistrator closed 1 week ago

magistrator commented 2 weeks ago

I'm getting this in console 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.

I think the code need to be updated

Shujee commented 1 week ago

I too am getting this. Any ETA on when this will be updated?

JoseGoncalves commented 1 week ago

To avoit that warning you need to switch to the AdvancedMarker component.