Christopher Jon Jursa wrote: > Hello, > > Thanks for the help. I am trying to run the example at the following link. > http://docs.codehaus.org/display/GEOTOOLS/Putting+everything+together. I am > having difficulty with the section reading "Once the styles are ready, > building the map and showing it is a snap:". > > However, I can't seem to find "StyledMapPane" in the API for Geotools > 2-2.2-RC3. > You are correct - it is gone: - try http://docs.codehaus.org/display/GEOTDOC/02+Example > I have my MapContext ready. How do I display it? "StyledMapPane" is not > part of the API! > Remember that geotools is not an application framework (it's focus is on making the visual - not interaction with Swing).
When StyledMapPane was removed the user list did ask for a replacement (which we have provided - but it is still not intended for hardcore use only as an example to help you create your own application). Cheers, Jody > Sincerely, > > Christopher Jon Jursa > Geoinformatics Laboratory > School of Information Sciences > University of Pittsburgh > web: http://gis.sis.pitt.edu > email: [EMAIL PROTECTED] > phone: 412-624-8858 > > -----Original Message----- > From: Jody Garnett [mailto:[EMAIL PROTECTED] > Sent: Sunday, November 26, 2006 3:26 PM > To: Christopher Jon Jursa > Cc: [email protected] > Subject: Re: [Geotools-gt2-users] Help Getting Started w/2-2.2-RC3 > > > Christopher Jon Jursa wrote: > >> Hello, >> >> I am new to Geotools. I have downloaded 2-2.2-RC3 and I am trying to get >> > a > >> sample map image to be visible. >> >> I found an example of a simple map at >> http://docs.codehaus.org/display/GEOTOOLS/The+Map. However, this code is >> not immediately compatable with the version of Geotools I am using. I >> understand this is an issue with many of the examples on the site. >> >> > Can I point you to this page: > - http://docs.codehaus.org/display/GEOTDOC/02+Example > > Which includes slides and links to source code that are known to work > with 2.2.x. One of the examples does include making a map visible. > All the best; > Jody > >> I tried to modify it to compile but I am still having trouble. My java >> > file > >> is at http://gis.sis.pitt.edu/temp/chris/SampleMapChris.java. I can't >> > seem > >> to get the Point class, GeometryFactory class and the >> StyleFactory.createStyleFactory() method to work. >> >> Can someone tell me what classes and method to use here so my example will >> compile? >> >> Sincerely, >> >> Christopher Jon Jursa >> Geoinformatics Laboratory >> School of Information Sciences >> University of Pittsburgh >> web: http://gis.sis.pitt.edu >> email: [EMAIL PROTECTED] >> phone: 412-624-8858 >> >> >> ------------------------------------------------------------------------- >> 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 > ------------------------------------------------------------------------- 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
