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

Configure to find cities only. #48

Open
mrcmorales opened this issue Nov 8, 2013 · 5 comments
Open

Configure to find cities only. #48

mrcmorales opened this issue Nov 8, 2013 · 5 comments

Comments

@mrcmorales
Copy link

Hi,

Is possible configure addresspicker to obtain only cities ?

Thanks

Regards

@mrcmorales
Copy link
Author

ping @sgruhier :) Thanks!

@sgruhier
Copy link
Owner

Sorry pretty busy these days, I cant look at it now

@mtobias
Copy link

mtobias commented Dec 31, 2013

+1

@ghost
Copy link

ghost commented Jan 23, 2014

I'm keen to use this too, and I had a go at implementing it without success (I'm a Rails developer). I'll keep trying, because I don't think it's that hard.

It looks like the option we need to pass is "types", documented here: https://developers.google.com/places/documentation/autocomplete#place_autocomplete_requests under "optional parameters". It appears we're already passing the "components" option, so I'm modelling my code on that.

Any assistance appreciated!

@mrcmorales
Copy link
Author

+1

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

3 participants