Hello, > Hi, I have been having the same problem. I used the code from the Quickstart > Tutorial and I have set the GeoTools version to 8-SNAPSHOT. Hower, I get the > following error: > > method showMap in class org.geotools.swing.JMapFrame cannot be applied to > given types > required: org.geotools.map.MapContext > found: org.geotools.map.MapContent >
I don't think you are using the current 8-SNAPSHOT jars. I just checked the source history and JMapFrame.showMap was switched over to using MapContent ten days ago along with the GeoTools examples Did you build from source or download the jars manually last week ? If you are building your project with Maven, and are not using the -o (offline) option, I can't see how you would get those messages. Michael ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
