首页 文章

iOS 7- Google Places API响应的结果

提问于
浏览
0

我正在使用google places API开发iOS应用程序 . 这是我的NSURLRequest的一个例子:

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=48.703380,4.204390&radius=25000&types=cafe&sensor=true&key=myAppKey .

结果我得到以下json响应:

{
   "html_attributions" : [],
   "results" : [],.
   "status" : "ZERO_RESULTS"
}

但是,当我在浏览器上打开谷歌 Map 网站搜索相同位置的咖啡馆时:(48.703380,4.204390)我发现了一些距离<25公里的地方(我在请求中使用的半径) .

这个问题有什么解释吗?

谢谢,

1 回答

  • 2

    更改要在网址请求中输入的类型

相关问题