Google Places Nearby Search

陌路散爱 提交于 2019-12-23 09:56:27

问题


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.

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"
}

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...

Any suggestions?


回答1:


After 12 days, this problem seems to be fixed.



来源:https://stackoverflow.com/questions/36156024/google-places-nearby-search

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!