谷歌位置api搜索多个国家

时间:2014-12-24 09:32:17

标签: json api google-maps

我正在使用以下链接搜索某个国家/地区的位置

https://maps.googleapis.com/maps/api/geocode/json?input=johar%20town&components=country:pakistan&key=apikey

如何在多个国家/地区进行搜索,例如

https://maps.googleapis.com/maps/api/geocode/json?input=johar%20town&components=country:pakistan|country:usa&key=apikey

在这种情况下,它得出零结果。

0 个答案:

没有答案