|
From: Martin D. <mar...@no...> - 2006-02-23 03:45:10
|
Tim Englich a =E9crit : > I try to print out a map by using the following code: >=20 > Graphics2D g =3D ((Graphics2D)graphics); > Rectangle rect =3D g.getClipBounds(); > mainMapPane.getRenderer().paint(g,rect,zoom,true); >=20 > Everything works fine until I change the Paperformat to Landscape. > The I get a Picture where the GridLayer a painted correctly. > The VectorLayer are rotated 90=B0. Is the AffineTransform (the zoom argument) the same in both case? If=20 not, what are the outputs of System.out.println(zoom)? Martin. |