You will find that the GeoTools 2.2 release has included (at the request of the user list, and some help from Ian T, and now Andrea) a simple swing gui widget available ext/mappane. The focus of this is really just as an example, and we will use it in some demo code.
If you need a real solution please check out the uDig project (http://udig.refractions.net/) - also LGPL and available for hacking in a commercial context :-) Jody > Amy, > > You seem to be about where I was about 2 weeks ago. I'm working a > project that will hopefully use GeoTools features, and have been > wading through the examples and javadoc, etc. > > You will find that many of the code snippets throughout the tutorial > are based on some earlier revisions of the api and many are partially > functional (unless you guess and load the correct api version). But > all are useful > > For the mapviewer class that you mention, I loaded the geotools2.1RC1 > bin file and made that a separate library. It contains the classes > you need to make it run. > > If you have downloaded the GT2.2RC3, it no longer has the > styledMapPane. ( I think it's out for revision) > > Also note the Javadoc file for 2.2RC3 that is downloadable is somewhat > incomplete (not a full build), but the website link on the home page > is gtg. > > -Jeff > > Message: 2 > Date: Thu, 03 Aug 2006 12:06:51 -0800 > From: Amy Johnson <[EMAIL PROTECTED]> > Subject: [Geotools-gt2-users] Beginner question on importing packages > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii; format=flowed > > I am trying to compile the sample code MapViewer and am having a > problem locating the jars for the following classes: > > org.geotools.gui.swing.StatusBar; > org.geotools.gui.swing.StyledMapPane; > org.geotools.renderer.j2d.RenderedMapScale; > > Thanks very much > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
