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
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
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
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
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
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