Using the new google places api for ios, is it possible to filter the results returned via GMSPlacePicker based on place type/category. For example, if I want to return all the gas_station types nearby.
Basically, I'm looking for something like GMSAutocompleteFilter, but for GMSPlacePicker.
You can do a HTTP Nearby Search Request, in the request parameter you can set the
types=gas_station
. In iOS, you can useNSURLSession
to do a http request.Sample code:
This request will return the
gas_station
within 1000 meters near-33.8670522,151.1957362
.