Jürgen Jacob wrote: > Hi list, > > up to now I have developed applications based on UDIG but now I have to > implement a small Swing application and therefore will use GeoTools > directly. > On trunk there are a couple of Swing display widgets that Eclisa can tell you about.
The quick answer is: 1. Follow this example to get a quick visual (of *any* datastore) - basically set up a MapContext and ask the renderer to draw it - http://docs.codehaus.org/display/GEOTDOC/09+ShapeLab 2. Use a memory data store rather than a shapefile - use memory datastore to hold your data for the MapContext to draw - http://docs.codehaus.org/display/GEOTDOC/10+Memory+DataStore I have not documented the "renderer" section of the library well; mostly because it is a mess of deprecated code :-) > Hope someone can help me. > Cheers, Jody ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
