| Issue 3899: | Allow to limit autocomplete by Country | |
| 10 people starred this issue and may be notified of changes. | Back to list |
What would you like to see us add to this API? Providing a way to limit autocomplete by Country would be extremely useful - if I want my users to enter a street in Canada I don't want them to see 'Australia' as an option when trying to type in 'Au(gusta Ave)' Thanks!! ********************************************************* For developers viewing this issue: please click the 'star' icon to be notified of future changes, and to let us know how many of you are interested in seeing it resolved. *********************************************************
Feb 7, 2012
#1
[email protected]
Feb 14, 2012
I find I have the same issue with the bounds biasing that it doesn't respect the country bounds. Using the above link and the example code: https://code.google.com/apis/maps/documentation/javascript/examples/places-autocomplete.html If I start typing "auck" for Auckland New Zealand, or "per" for Perth it shows up Perth, and Peru whereas if you look in the bounds it's only Sydney. Those other results shouldn't be coming up first or even at all if the bounds are restricting to where the viewport is. The same applies if you specify the bounds too.
Mar 21, 2012
Bounds biasing seems to work if you make a really small boundary within the country you want to restrict to but it still brings up countries as preference, so for Canberra, Australia you have to type in Canb to get past Canada being the #1 entry. jquery options all seem much slower so a native solution would be nice, please.
May 14, 2012
Country filtering is now supported for Autocomplete: http://googlegeodevelopers.blogspot.com.au/2012/05/faster-address-entry-with-google-places.html
Status:
Fixed
Jun 18, 2012
Brilliant. Thanks for this.
Jun 18, 2012
yes, thank you very much.
Jan 30, 2013
Hi, Is there any hope to get support for multiple countries ? Be able to get results for both Australia and New Zealand would be useful. Do you plan to add this feature ? Thank you |
|
| ► Sign in to add a comment |