b5905b49 by chiangbt

update3

1 parent e47db889
...@@ -147,7 +147,7 @@ public class TiandituDownload { ...@@ -147,7 +147,7 @@ public class TiandituDownload {
147 byte[] img2 = getTile(url2); 147 byte[] img2 = getTile(url2);
148 InputStream img_stream2 = new ByteArrayInputStream(img2); 148 InputStream img_stream2 = new ByteArrayInputStream(img2);
149 BufferedImage bImageFromConvert2 = ImageIO.read(img_stream2); 149 BufferedImage bImageFromConvert2 = ImageIO.read(img_stream2);
150 150 // 将两张图片拼凑为一张
151 Graphics g = bImageFromConvert.getGraphics(); 151 Graphics g = bImageFromConvert.getGraphics();
152 g.drawImage(bImageFromConvert, 0, 0, null); 152 g.drawImage(bImageFromConvert, 0, 0, null);
153 g.drawImage(bImageFromConvert2, 0, 0, null); 153 g.drawImage(bImageFromConvert2, 0, 0, null);
......