yun*_*zen 12 api google-maps geocoding
如何在不发出其他请求的情况下过滤两个(或更多)国家/ 地区的Google Geocode API结果和components参数的使用情况.
例:
http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&components=country:DE,AT&address=wienhttp://maps.googleapis.com/maps/api/geocode/xml?sensor=false&components=country:AT,DE&address=wienhttp://maps.googleapis.com/maps/api/geocode/xml?sensor=false&components=country:AT|country:DE&address=wien我在文档中有什么东西可以让它成为可能,或者我根本不能制作它?
我尝试了设置德国和奥地利的合并范围的解决方法,但这只是权衡结果而不是过滤它们,所以我得到了一个我不想要的结果http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&components=bounds:55.058,17.161|46.372,5.866&address=new%20york.在这种情况下,我想要一个ZERO_RESULTS状态.
| 归档时间: |
|
| 查看次数: |
2201 次 |
| 最近记录: |