Seb*_*ich 5 google-maps google-places-api google-places
我正在尝试为德国多特蒙德的当地宝马维修设施.根据谷歌地图,附近有一家宝马经销商51.48488,7.4687013.
以下请求与上述经销商匹配: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"
}
Run Code Online (Sandbox Code Playgroud)
但是,如果我对类型(type = car_repair)更具体,则上述经销商不匹配:maps.googleapis.com/maps/api/place/nearbysearch/json?location=51.4842556,7.474081&radius=20000&language=en&name = BMW&类型= car_repair&键= API_KEY
我很确定第二个要求与过去提到的经销商相匹配......
有什么建议?
| 归档时间: |
|
| 查看次数: |
690 次 |
| 最近记录: |