Commit fbc6beaa by huangjinxin

Merge remote-tracking branch 'origin/develop' into develop

2 parents 9992f438 7e780701
......@@ -137,6 +137,7 @@ public class RoadDistanceUtils {
}
String text = requestGetAK(url, params);
System.out.println(url + " : " + gson.toJson(params) + " : " + text);
BDResult webResult = gson.fromJson(text, BDResult.class);
float dis = webResult.getResult().get(0).getDistance().getValue() / 1000F;
int time = webResult.getResult().get(0).getDuration().getValue();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!