Google Places附近搜索 [英] Google Places Nearby Search

查看:98
本文介绍了Google Places附近搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图为德国多特蒙德市一家当地的宝马维修厂.根据 Google地图,附近有宝马汽车经销商,位置为51.48488,7.4687013.

I'm trying to fetch a local BMW repair facility for Dortmund, Germany. According to Google Maps, there is a BMW dealer nearby to location 51.48488,7.4687013.

以下请求与上述经销商匹配: maps.googleapis.com/maps/api/place/nearbysearch/json?location=51.4842556,7.474081&radius=20000&language=zh-CN&name=BMW&key=API_KEY

The following request matches the above mentioned dealer: maps.googleapis.com/maps/api/place/nearbysearch/json?location=51.4842556,7.474081&radius=20000&language=en&name=BMW&key=API_KEY

{
    "name": "BMW Niederlassung Dortmund",
    ...,
    "types": [
        "car_repair",
        "car_dealer",
        "store",
        "point_of_interest",
        "establishment"
    ],
    ...,
    "vicinity": "Nortkirchenstraße 111, Dortmund"
}

但是,如果我更详细地说明类型(type = car_repair),则上述经销商不匹配: maps.googleapis.com/maps/api/place/nearbysearch/json?location=51.4842556,7.474081&radius=20000&language=zh-CN&name=BMW&type=car_repair&key=API_KEY

However, if I be more specific on the type (type=car_repair) the above mentioned dealer isn't matched: maps.googleapis.com/maps/api/place/nearbysearch/json?location=51.4842556,7.474081&radius=20000&language=en&name=BMW&type=car_repair&key=API_KEY

我很确定第二个请求过去与上述经销商匹配...

I'm pretty sure the second request matched the mentioned dealer in the past...

有什么建议吗?

推荐答案

12天后,此问题似乎已解决.

After 12 days, this problem seems to be fixed.

这篇关于Google Places附近搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆