Right now the geotools gt-swing module has an example that renders into one 
buffered image. If you want to repaint only a single layer you will need to 
make your own code that has several buffered images (each of which with a 
StreamingRenderer to populate it).

This is a good approach; one we use in the uDig project (in order to only 
render one image).

If you could join the geotools user list for these sorts of questions it would 
be a good help. As with many developers we tend to keep direct email for our 
customers; by using the email list others get a chance to reply to your 
question and share tips.
-- 
Jody Garnett

On Thursday, 26 May 2011 at 2:55 PM, [email protected] wrote: 
> sir,
> 
> i had problem with repaint layer in geotools Java. the problem is in my 
> application i was added mapgrid to layer index 0 and map to layer index 
> 1.Then other shapes(rectangle,circle and polygon) added to separate layers. 
> so then i did move that shape layer but problem was that time all the layer 
> are repaint.
> 
>  i want to repaint only selected layer.would you know how to do that..
> 
>  thank you 
>  ayesh don
> [email protected] 
> 
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to