Reputation: 413
Thanks for taking out some time to read this.
I'm working on a project that involves having to show autocomplete search hinting data for worldwide Cities,Airports,Hotels and Points of Interest.
I'm having a couple of issues when it comes to the google places Autocomplete API. I'm trying to filter by only City,Hotel,Airport and POI, but I noticed the places autocomplete API does not have this functionality out the box to the best of knowledge.
I would appreciate if some one can provide me some work arounds on what I can to to accomplish my current task.
Thanks I'm looking forward to some help. Kind Regards.
Upvotes: 3
Views: 3693
Reputation: 4840
Places Autocomplete lets you filter results to types: ['establishment']
(example), but not specific place types. You'd probably be interested in this feature request: Issue 3538: Allow Places types in autocomplete
Upvotes: 1