Re: [Geotools-gt2-users] Printing a Map

2007-09-05 Thread Jody Garnett
My best advice is to look at one of the test cases, here is something form the upgrade to 2.4 page: > GTRenderer draw = new StreamingRenderer(); > draw.setContext(map); > > draw.paint(g2d, outputArea, map.getLayerBounds() ); Jody > I review those code, but its hard to undertand, can you help me wi

Re: [Geotools-gt2-users] Printing a Map

2007-09-04 Thread Eduve
I review those code, but its hard to undertand, can you help me with an example? Jody Garnett wrote: > > Our Map drawing code works on Graphic2d - so you can draw onto a screen > or printer. We use just this technique to print from uDig. > > Jody >> How do i print a map on geotools, Please He

Re: [Geotools-gt2-users] Printing a Map

2007-08-30 Thread Jody Garnett
Our Map drawing code works on Graphic2d - so you can draw onto a screen or printer. We use just this technique to print from uDig. Jody > How do i print a map on geotools, Please Help me > - This SF.net email is sponsore

[Geotools-gt2-users] Printing a Map

2007-06-27 Thread Eduve
How do i print a map on geotools, Please Help me -- View this message in context: http://www.nabble.com/Printing-a-Map-tf3977741.html#a11291356 Sent from the geotools-gt2-users mailing list archive at Nabble.com. - This SF

Re: [Geotools-gt2-users] Printing a Map

2006-02-22 Thread Martin Desruisseaux
Tim Englich a écrit : I try to print out a map by using the following code: Graphics2D g = ((Graphics2D)graphics); Rectangle rect = g.getClipBounds(); mainMapPane.getRenderer().paint(g,rect,zoom,true); Everything works fine until I change the Paperformat to Landscape. The I get a Picture where

[Geotools-gt2-users] Printing a Map

2006-02-21 Thread Tim Englich
Hello, I try to print out a map by using the following code: Graphics2D g = ((Graphics2D)graphics); Rectangle rect = g.getClipBounds(); mainMapPane.getRenderer().paint(g,rect,zoom,true); Everything works fine until I change the Paperformat to Landscape. The I get a Picture where the GridLayer a p