lizhanwei
2020-01-14 2cec64c61761c9defd5bc32823e48e1f984414be
app/src/main/java/safeluck/drive/evaluation/fragment/MapFragment.java
@@ -355,14 +355,18 @@
                    if (map_id == examMap.getId()){
                        List<ExamMap.PointBean> pointBeanList = examMap.getPoint();
                        for(int j=0; j<pointBeanList.size();j++){
                            if ((j % 2) == 0) {
                                map[map_line][0] = points.get(i);
                            } else {
                                double value = 0 - points.get(i);
                                Log.i(TAG, "onCEvent: map新值=" + value + " 位置:" + i);
                                map[map_line][1] = value;
                                map_line++;
                            List<Double> xys = pointBeanList.get(i).getXy();
                            for (int k=0; k<xys.size();k++){
                                if ((k % 2) == 0) {
                                    map[map_line][0] = points.get(i);
                                } else {
                                    double value = 0 - points.get(i);
                                    Log.i(TAG, "onCEvent: map新值=" + value + " 位置:" + i);
                                    map[map_line][1] = value;
                                    map_line++;
                                }
                            }
                        }
                        break;
                    }