Google maps google place api在web服务api中传递多个类型

Google maps google place api在web服务api中传递多个类型,google-maps,Google Maps,我正在使用GooglePlaceAPI来搜索lan long的近距离搜索结果,但我无法传递多个类型。是否无法传递多个搜索类型 https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=30.642550,76.817336&key=examplekey&sensor=false&radius=200&types=restaurant 我已经尝试过将type作为types=atm |

我正在使用GooglePlaceAPI来搜索lan long的近距离搜索结果,但我无法传递多个类型。是否无法传递多个搜索类型

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

我已经尝试过将type作为types=atm | restaurant或types作为types=atm,restaurant传递,但它不起作用

从我在网上看到的情况来看

谷歌不推荐使用多种地点搜索类型


只能指定一种类型(如果提供了多个类型,则忽略第一个条目后面的所有类型)。如合同中所述。