Android Google Map V2提供ZERO_RESULTS

时间:2015-10-19 13:42:24

标签: android json google-maps google-maps-api-3

我在我的Android应用程序中使用谷歌地图API,我在选择源和目的地时绘制了建议行。但有时候谷歌API响应会给出ZERO_RESULTS。所以我无法绘制建议线。

发布Json

https://maps.googleapis.com/maps/api/directions/json?origin=12.8247072,80.2139655&destination=16.04141453828351,78.81681315600872&sensor=false&mode=driving&language=en-EN

Google API响应

 {   "geocoded_waypoints" : [ {}, {} ],   "routes" : [],   "status" : "ZERO_RESULTS"}

不知怎的,我需要在至少附近的目的地画出方向线。任何人请帮我解决这个问题。

enter image description here

0 个答案:

没有答案