我在我的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"}