Google 地图地理编码未返回有效完整地址的纬度/经度
我在使用 Google Maps Geocoding API v3 时遇到了一个奇怪的问题。它适用于我迄今为止尝试过的所有其他地址,但它给我带来了以下地址的问题。
35& 36,拉吉夫·甘地信息科技园,浦那,411057,印度 或者 地块 35/36 号,拉吉夫·甘地信息科技园,一期,MIDC,Hinjawadi,浦那,411057,印度 即使对于:Rajiv Gandhi Infotech Park, Pune, 411057, India
GeocoderStatus 为 ZERO_RESULTS。
下面是代码片段。
var geocoder = new google.maps.Geocoder();
geocoder.geocode({
'address' : address
},
function (results, status) {
if (status == google.maps.GeocoderStatus.OK) {
....
}
else{...}
但是,同一地址在以下链接的 json 结果中返回有效的纬度/经度,且状态为“正常”。
谁能告诉我这个问题的原因及其解决方案是什么?
I am facing a weird issue with Google Maps Geocoding API v3. It works fine for all other addresses that i have tried so far but it's giving me an issue with the following address.
35 & 36, Rajiv Gandhi Infotech Park, Pune, 411057, India
OR
Plot No 35/36,Rajiv Gandhi Infotech Park,Phase 1,MIDC,Hinjawadi,Pune,411057,India
Even for: Rajiv Gandhi Infotech Park, Pune, 411057, India
The GeocoderStatus is ZERO_RESULTS.
Below is the code snippet.
var geocoder = new google.maps.Geocoder();
geocoder.geocode({
'address' : address
},
function (results, status) {
if (status == google.maps.GeocoderStatus.OK) {
....
}
else{...}
However, the same address is returning a valid lat/long with 'OK' status in json result at the below link.
Can anyone please tell me what is the cause of this issue and its resolution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许该特定地址最近已添加到谷歌的数据库中。
Perhaps that particular address is recently added to Google's database.