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

Add more fields to PlaceDetails class #144

Open
BenjiFarquhar opened this issue Mar 25, 2023 · 2 comments
Open

Add more fields to PlaceDetails class #144

BenjiFarquhar opened this issue Mar 25, 2023 · 2 comments

Comments

@BenjiFarquhar
Copy link

In GoogleMapsPlaces.getDetailsByPlaceId, in the file lib/src/places.dart we can see that some places have a lot more fields than others, that are not in the PlaceDetails class, so cannot be captured (they are thrown away). Here is an image of an actual http response:

Screenshot 2023-03-25 at 9 32 27 PM

We should be able to capture all fields returned by the web request in PlaceDetails.

@BenjiFarquhar
Copy link
Author

I've done a PR for this.

@luis901101
Copy link

Try with this google_maps_apis which is a fork of this package but with some improvements and bug fixes, including the PlaceDetails fields which are up to date with Google docs.

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