这是indexloc提供的服务,不要输入任何密码
Skip to content

Places Autocomplete Warning: google.maps.places.Autocomplete is not available to new customers. #261

@mattsday

Description

@mattsday

Environment details

  1. Specify the API at the beginning of the title (for example, "Places: ...")
  2. OS type and version: ChromeOS / Linux
  3. Library version and other environment information: @googlemaps/extended-component-library: 0.6.13

When running the autocomplete widget, I get the following console warning:

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.

A simple <PlacePicker> is enough to cause this warning:

<PlacePicker id={id} placeholder={defaultValue} onPlaceChange={handleChange} />

Will this library be updated to support the new underlying library mentioned in the migration guide?

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions