繁体   English   中英

这个Google地方信息(雷达搜索)请求有什么问题?

[英]What's wrong with this Google Places (radar search) request?

我想在50000米范围内的华盛顿特区获得200个健身房的清单。

为此,我向Google Places API(雷达搜索)发出以下请求:

https://maps.googleapis.com/maps/api/place/radarsearch/json?key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&location=38.895111,-77.036667&radius=50000.000000&sensor=false&type=gym

我收到一条错误消息:

{
   "html_attributions" : [],
   "results" : [],
   "status" : "INVALID_REQUEST"
}

该请求究竟出了什么问题?

将type = gym更改为types = gym,这对我有用

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM