如何将 GMSPlacePicker 限制为仅指定的地点类型?

How can I limit the GMSPlacePicker to only specified place type(s)?

我想为 iOS place picker, but it displays places of all types in the map. I'd to be able to supply a set of Place Types 使用 Google 地点 API 来限制用户可以 select 的地点类型.

这可能吗? Google Places web service api 允许使用 type 参数来限制结果。在 iOS API 中是否有支持此功能的计划?

截至目前,Place Picker API doesn't have the feature to filter the Place Types you want to be returned. There is actually an open feature request关于它。

参考文献: