Just to add to Jody's very good reply: JMapPane does do the rendering in a background thread (using the RenderingExecutor class) though it doesn't do anything as clever as one layer per thread
Michael On 28 April 2010 08:16, Jody Garnett <[email protected]> wrote: > The two big ticket items here are: > - make a feature collection that uses a JTS spatial index (mostly helps when > zoomed in) > - render in a background thread so the user can continue to interact as the > screen fills in > > Beyond that you get into more work: > - render layers in their own thread > - try and not have too many threads hitting the disk > > And finally: > - rendering in a background thread; into tiles (and cache the tiles) > > But quite simply it is slow when you are zoomed out because you are drawing > more :-) Consider using SLD styles to draw less when zoomed out... > > Jody > > On 28/04/2010, at 12:49 AM, LSA wrote: > >> Hi all! >> >> Is there are any simple means (like, say, some property) to bring >> maximum JMapPane perfomance? I am developing an interactive desktop >> application, and JMapPane often experiencing periods of slow rendering >> (for example, if you make ZoomOut for a several times). >> >> I am ready to sacrifice memory to achieve this. >> >> Thanks in advance! >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Geotools-gt2-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > > ------------------------------------------------------------------------------ > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
