> The problem i'm having is in my ConstructMap.java file where i am adding > my featuressource and the style object to the mapcontext object as it says: > > ava.lang.ClassCastException: com.mycompany.Map_AppV2.ConstructStyle cannot > be cast to org.geotools.styling.Style > at com.mycompany.Map_AppV2.ConstructMap.<init>(ConstructMap.java:81) > at com.mycompany.Map_AppV2.MapApp.main(MapApp.java:41) >
If you can post a snippet of your code it would help Michael ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users