0

https://maps.googleapis.com/maps/api/place/search/json?location=28.635704,77.224982&radius=50000&types=restaurant&language=en&name=&sensor=false&key=[key]

我一直在尝试查找 Google Places API 3 来获取德里的餐馆列表,但到目前为止我还没有运气。有没有人尝试过。它在美国的坐标显示出很好的结果,但在德里却没有?

4

1 回答 1

2

我想问题是地方所有者应用的分类。当我在谷歌地图上搜索“restaurant delhi”时,我得到了很多餐馆,但没有一个被归类为“restaurant”,它是 lodging、restaurants-indian、Restaurants-Non-Vegetarian 或其他,但从来没有restaurant

您将得到一堆结果,而不是请求类型 餐厅搜索名称 restaurant 。

当您查看这些结果时,您会看到,大多数结果的类型设置为“建立”,而不是“餐厅”

于 2012-02-28T10:12:26.590 回答