【发布时间】:2016-06-26 16:54:04
【问题描述】:
我的应用程序使用 Google Places API Nearby 搜索来获取离用户最近的位置。我指定了在“https://developers.google.com/places/supported_types”上找到的所有可能的类型。
我的搜索查询看起来有点像这样:“https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=myKeyHere&location=%f,%f&rankby=distance&types=accounting|amusement_park|aquarium|art_gallery|atm|bakery|bank|bar|beauty_salon|bicycle_store|book_store|bowling_alley|bus_station|cafe ... university|veterinary_care|zoo”
但到 2017 年 2 月 16 日,types 参数将被弃用并替换为单个类型参数,因此我将无法再检索附近所有可能的位置。
我必须有哪些选择才能做到这一点?
感谢您的宝贵时间。
【问题讨论】:
-
你还在想2017年2月。我猜你有足够的时间来开发你的应用程序。你可以稍后升级它
标签: objective-c google-places-api