google place api在web服务api中传递多种类型

时间:2018-04-17 14:19:05

标签: google-maps

我正在使用google place api来搜索lan long的结果,但我无法通过mutliple类型。是否无法传递多种搜索类型?

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=30.642550,76.817336&key=examplekey&sensor=false&radius=200&types=restaurant

我已经尝试将类型传递为types = atm | restaurant或类型为types = atm,restaurant它不起作用。

1 个答案:

答案 0 :(得分:0)

从我在网络上看到的,似乎

  

Google正在弃用多种类型的地点搜索

as you can see on this github issue.