gpt4 book ai didi

iOS 7-Google Places API 响应的结果

转载 作者:行者123 更新时间:2023-11-28 22:16:19 27 4
gpt4 key购买 nike

我正在使用 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"
}

但是当我在浏览器上打开谷歌地图站点以搜索同一位置周围的咖啡馆时:(48.703380,4.204390)我发现一些地方的距离小于 25 公里(我在请求中使用的半径)。

这个问题有什么解释吗?

谢谢,

最佳答案

更改类型以在 url 请求中键入

关于iOS 7-Google Places API 响应的结果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21553820/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com