user1550387
user1550387

Reputation: 1

Google Places Autocomplete API restrict country stopped working

I am running an google place auto complete item.

I placed a restriction to output only address on a particular country. using the componentRestrictions: {country: 'fr'} code.

This worked very fine, until 25 July 2012. The country restriction failed and all address are now suddenly displayed.

I have gone back to test the sample code on google map website https://developers.google.com/maps/documentation/javascript/places#places_autocomplete

and loaded it on http://jsfiddle.net/csdk3/

and I still get all address without restricted country.

Will appreciate if I could get some help.

Thanks.

Upvotes: 0

Views: 1878

Answers (1)

Marcelo
Marcelo

Reputation: 9407

There was a bug which was recognized, and subsequently fixed by Google.

Demo is working now. (Australian locations only)

Upvotes: 1

Related Questions