jquery-addresspicker icon indicating copy to clipboard operation
jquery-addresspicker copied to clipboard

Configure to find cities only.

Open mrcmorales opened this issue 11 years ago • 5 comments

Hi,

Is possible configure addresspicker to obtain only cities ?

Thanks

Regards

mrcmorales avatar Nov 08 '13 12:11 mrcmorales

ping @sgruhier :) Thanks!

mrcmorales avatar Nov 17 '13 16:11 mrcmorales

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

sgruhier avatar Nov 20 '13 15:11 sgruhier

+1

mtobias avatar Dec 31 '13 07:12 mtobias

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!

ghost avatar Jan 23 '14 23:01 ghost

+1

mrcmorales avatar Feb 25 '14 09:02 mrcmorales