Skip to content

Deprecation warning: google.maps.places.Autocomplete no longer available for new customers #218

@lidyum

Description

@lidyum

Hello,

I've integrated @fawmi/vue-google-maps into my project. When using the Places Autocomplete component, I see the following warning in the console:

As of March 1st, 2025, google.maps.places.Autocomplete is not available to new customers. Please use google.maps.places.PlaceAutocompleteElement instead. At this time, google.maps.places.Autocomplete is not scheduled to be discontinued, but google.maps.places.PlaceAutocompleteElement is recommended over google.maps.places.Autocomplete. While google.maps.places.Autocomplete will continue to receive bug fixes for any major regressions, existing bugs in google.maps.places.Autocomplete will not be addressed. At least 12 months notice will be given before support is discontinued. Please see https://developers.google.com/maps/legacy for additional details and https://developers.google.com/maps/documentation/javascript/places-migration-overview for the migration guide.

Steps to reproduce:

  1. Install @fawmi/vue-google-maps via npm.
  2. Use the <place-autocomplete> component or initialize google.maps.places.Autocomplete from this package.
  3. Load the page and check the browser console.

Expected behaviour:
The component should avoid deprecated APIs and instead leverage google.maps.places.PlaceAutocompleteElement so that new customers do not receive deprecation warnings.

Actual behaviour:
The console logs the deprecation warning shown above.

Environment:

  • Vue version: [please fill]
  • @fawmi/vue-google-maps version: [please fill]
  • Google Maps JavaScript API version: [please fill]

Additional context / Proposal:
According to Google's documentation, google.maps.places.Autocomplete is not available to new customers as of March 1st, 2025. They recommend migrating to google.maps.places.PlaceAutocompleteElement (see the migration guide linked in the warning). Are there any plans to update this package to support the new PlaceAutocompleteElement or guidance on how users should migrate?

Thanks for your work on this library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions