NathanAP / vue-google-maps-community-fork

The community fork for Vue Google Maps library
https://vue-google-maps-community-fork.netlify.app
MIT License
107 stars 32 forks source link

Use google.maps.marker.AdvancedMarkerElement #91

Open recrit opened 7 months ago

recrit commented 7 months ago

"As of February 21st, 2024, google.maps.Marker is deprecated. Please use google.maps.marker.AdvancedMarkerElement instead. Please see https://developers.google.com/maps/deprecations for deprecation details."

The google.maps.Marker was deprecated in the Google API version 3.56 released on February 21st, 2024.

Google recommends using google.maps.marker.AdvancedMarkerElement which is available as of 3.53.2.

Google documentation:

innovaweb-dev commented 6 months ago

So the repo is no longer usable ? What we can do ?

recrit commented 6 months ago

@rifton007 the repo is still usable since the old marker is currently not planned to be discontinued. From the google documentation: "The minimum version of the Maps JavaScript API with google.maps.marker.AdvancedMarkerElement is 3.53.2. 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." Full details on https://developers.google.com/maps/deprecations#googlemapsmarker_in_the_deprecated_as_of_february_2024