Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Places API (New) #894

Open
jz-notion opened this issue Dec 18, 2024 · 1 comment
Open

Support for Places API (New) #894

jz-notion opened this issue Dec 18, 2024 · 1 comment

Comments

@jz-notion
Copy link

Is your feature request related to a problem? Please describe.
Google Maps launched a new Places API along with updated pricing structure. The previous API is now marked as Places API (Legacy). This loader does not appear to support the new API & features.

Describe the solution you'd like
Please add support for Places API (New).

Describe alternatives you've considered
Integrate with the new API directly.

@jz-notion jz-notion added triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Dec 18, 2024
@usefulthink
Copy link
Contributor

usefulthink commented Dec 18, 2024

There is nothing for us to do to support those new APIs, the classes used to interact with the new APIs share the places library in the Maps JavaScript API with their older counterparts.

As far as I know, the maps team is in the process of rebuilding the Places API Services and corresponding JS classes.
Since the older API and its classes (Geocoder, PlacesService, AutocompleteService, etc) are being relied upon a lot, they can't just change how those classes behave. They will likely just continue to talk to the old API endpoints. I would assume they will be deprecated at some point in the future.

The new API started off as just the REST API (iirc, the new Place class was published at the same time). New functionality is being added to this new set of APIs (for example the AutocompleteSuggestion class). Those new APIs will be talking to the newer REST APIs exclusively. But all of that is happening in the same google.maps.places namespace.

@usefulthink usefulthink removed type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. triage me I really want to be triaged. labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants