| | |
| | | |
| | | }else{ |
| | | List<Integer> area = mapItem.getArea(); |
| | | List<Integer> stoplines = mapItem.getStop_line(); |
| | | for (int aaa = 0; aaa <stoplines.size(); aaa++) { |
| | | |
| | | int pos = stoplines.get(aaa); |
| | | if (aaa==0){ |
| | | path.moveTo((float) (base_x + (map[pos][0] - min_x) * scale_x), (float) (base_y + (map[pos][1] - min_y) * scale_y)); |
| | | }else{ |
| | | path.lineTo((float) (base_x + (map[pos][0] - min_x) * scale_x), (float) (base_y + (map[pos][1] - min_y) * scale_y)); |
| | | } |
| | | canvas2.drawPath(path,paint); |
| | | } |
| | | for (int jj = 0; jj < area.size(); jj++) { |
| | | int pos = area.get(jj); |
| | | if (jj==0){ |