endian11
2020-11-03 bd3450d1d9585ade2ead82ac387c433898c4afae
d调换 x,y
1个文件已修改
4 ■■■■ 已修改文件
app/src/main/java/safeluck/drive/evaluation/routecollect/impl/RouteModel.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
app/src/main/java/safeluck/drive/evaluation/routecollect/impl/RouteModel.java
@@ -63,8 +63,8 @@
                    CollectPointResult collectPointResult = new CollectPointResult();
                    try {
                        JSONObject jsonObject = new JSONObject((String)obj);
                        double x = jsonObject.getDouble("coord_x");
                        double y = jsonObject.getDouble("coord_y");
                        double y = jsonObject.getDouble("coord_x");
                        double x = jsonObject.getDouble("coord_y");
                        Log.i(TAG,String.format("采集到的点【x=%f,y=%f]",x,y));
                        collectPointResult.setX(Utils.getdouble(x,4));