app/src/main/java/safeluck/drive/evaluation/fragment/MapFragment.java
@@ -241,7 +241,8 @@ } } } for (int i = 0; i < map_other.length; i++) { if (map_other.length>9){ for (int i = 0; i < map_other.length; i++) { if (max_x < map_other[i][0]) { max_x = map_other[i][0]; @@ -254,8 +255,10 @@ } if (min_y > map_other[i][1]) { min_y = map_other[i][1]; } } } Log.d(TAG, "DrawMap max_x " + max_x + " max_y " + max_y + " min_x " + min_x + " min_y " + min_y); @@ -571,7 +574,7 @@ } } }else{ MyLog.i(TAG,"暂时还不支持曲线"); MyLog.i(TAG,"暂时支持曲线"); map_other = new double[xys.size()/2][2]; for (int k=0; k<xys.size();k++){ if ((k % 2) == 0) {