缺少GMSAddress placeID属性。

时间:2015-05-27 11:18:38

标签: ios google-maps reverse-geocoding

我想将通过GoogleMaps iOS SDK(ReverseGeoCoding)收到的GMSAddress映射到GMaps Place。但是GMSAdress类没有名为place_id的属性。如果我检查web api的反向地理编码,它确实包含place_id。有人为此得到了解决方法吗?

1 个答案:

答案 0 :(得分:0)

要获取place_id,您需要使用Place API。

有两种方法可供您使用,来自web service callGoogle Places API for iOS. Places API for iOS目前正处于公开测试阶段。