From: Martin D. <mar...@te...> - 2004-05-20 13:08:34
|
Andrea Aime a =E9crit : > Hum... thinking about using it on the server side, how do I know when > the rendering is really finished? :) ! Yeah, one more point! In RenderingContext, there is an attribute called 'isPrinting()': http://modules.geotools.org/renderer/apidocs/org/geotools/renderer/j2d/Re= nderingContext.html#isPrinting() When 'isPrinting()' is true, deferred rendering is disabled (i.e. the=20 J2D Renderer block until everything has been rendered). On a server=20 side, the Renderer could run on a background thread and paint the map=20 with 'isPrinting' set to 'true'. |