'Google Places Autocomplete API Filtering by
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.
Solution 1:[1]
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
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | miguev |
