|
From: Michael B. <mic...@gm...> - 2011-07-20 01:24:17
|
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 |