谷歌地图地理编码不会给出结果

时间:2016-12-20 09:22:29

标签: google-maps

7-A Artsan Towers Trichy Road,Ramanathapuram,Coimbatore Tamil Nadu

这是我在google地图中输入的内容,它给了我5个结果。

enter image description here

但是当我在geocode api中给出相同的地址时,它会给我零结果。 我应该怎么处理这个问题,我想最近的拉特

https://maps.googleapis.com/maps/api/geocode/json?address=7-A%20Artsan%20Towers%20Trichy%20Road,Ramanathapuram,%20Coimbatore%20Tamil%20Nadu&postal_code=641045&key=keyIsHere 结果是

{"results"=>[], "status"=>"ZERO_RESULTS"}

1 个答案:

答案 0 :(得分:0)

在这里,您应该避免使用统一号码,楼层号码和商家名称。

有关详细信息,请参阅this

这对我有用https://maps.googleapis.com/maps/api/geocode/json?address=7A,Artsan%20Towers%20Trich%20Road,Ramanathapuram,Coimbatore%20Tamil%20Nadu&postal_code=641045&key=Your_KEY

结果:

MainWindow mainwindow = new MainWindow();
mainwindow.textBox1.Text = "test";
相关问题