google-maps-autocomplete icon indicating copy to clipboard operation
google-maps-autocomplete copied to clipboard

Origin/Location parameter for better search predictions.

Open Radecom opened this issue 4 years ago • 2 comments

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [X ] feature request

Repro steps

Hello, first of all, congratulations on your excellent work developing this plug-in.

I am developing a multiplatform application that works with google places and addresses, first I developed the mobile application with Ionic, for the autocomplete search system there was no snippet for Ionic, so I built my own system using the back-end service of google and ionic elements ...

During my development I found that to improve search predictions, the server accepts a parameter called Origin/Location:

https://developers.google.com/maps/documentation/directions/intro#RequestParameters

https://developers.google.com/places/web-service/search#PlaceSearchRequests

This parameter greatly improves the user experience since it shows the addresses closest to the user's location ...

Desired functionality

Now, I am working with the web application, and I am getting to your plugin, I have been impressed by your work. The integration of google places was very easy.

The complication I have is that the search results are very imprecise, I have to type many more keys, and invest much more time to find the place I am looking for ...

I would like to see if there is a possibility that you will add a way for us to pass that value to searches to improve predictions...

Mention any other details that might be useful

I am willing to support your project, either by helping with development or by making a donation.

what do you think?

Radecom avatar Apr 29 '20 00:04 Radecom

I would appreciate a PR for that

thank you

AnthonyNahas avatar Jul 29 '20 19:07 AnthonyNahas

Ok, I will prepare it. Thanks!

Radecom avatar Jul 29 '20 21:07 Radecom