如何查询 google maps place web service API nearby search with multiple name terms?
How to query google maps place web service API nearby search with multiple name terms?
在 google 地图位置 API 网络服务文档中,它说在附近搜索名称 "One or more terms to be matched against the names of places, separated with a space character."
但我不确定该怎么做。我试过以下方法
https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=AIzaSyDi9shpQeCKw2VyelOJrawc****&location=41.8369,-87.6847&radius=50000&name=alinea%20yusho
但是 returns 没有结果,尽管 google 肯定有 alinea 和 yusho 的条目。 "separated with a space character" 到底是什么意思?
尝试改用管道符号。我试过了,成功了!
name=alinea|yusho
在 google 地图位置 API 网络服务文档中,它说在附近搜索名称 "One or more terms to be matched against the names of places, separated with a space character."
但我不确定该怎么做。我试过以下方法
https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=AIzaSyDi9shpQeCKw2VyelOJrawc****&location=41.8369,-87.6847&radius=50000&name=alinea%20yusho
但是 returns 没有结果,尽管 google 肯定有 alinea 和 yusho 的条目。 "separated with a space character" 到底是什么意思?
尝试改用管道符号。我试过了,成功了!
name=alinea|yusho