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

Google Provider Autocomplete Results #381

Open
Hossam-Ali opened this issue Oct 10, 2023 · 1 comment
Open

Google Provider Autocomplete Results #381

Hossam-Ali opened this issue Oct 10, 2023 · 1 comment

Comments

@Hossam-Ali
Copy link

Hello, Thank you for the amazing library.

I have a question regarding Google Provider.
The autocomplete is not working as expected as I have to write the exact address and returns very limited results.

I can see, you are using https://maps.googleapis.com/maps/api/js/GeocodeService.Search for the autocomplete results.
While on Google API they use https://maps.googleapis.com/maps/api/place/js/AutocompletionService.GetPredictions

My code
Screenshot 2023-10-10 at 6 36 55 PM

Google API
Screenshot 2023-10-10 at 6 38 15 PM

Is there anyway to improve that?
Thank you!

@ffkarine
Copy link

ffkarine commented Mar 27, 2024

Hey @Hossam-Ali could you provide me a sample code of how you configured the Google Provider, since it seems to be working for you (at least for the exact adresses)? I'm not able to make it work, no matter the address I search, no results appear on the screen. However if I use the OSM provider it works (the results are kind of obsolete but it works). I already opened an issue here but no comments yet.

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