Hi,

      i'm creating a style in my app using the code  Style style =
createStyle(file, myFeatureTypeSchema);, however, everytime i add this i get
an error saying incompatible types but i'm using the 09 shapelab tutorial to
guide me threw this. The two variables have already been defined and so i'm
wondering why on earth there would be an error on this bearing in mind that
i'm following the tutorial. 

I looked at the 05 Style tutorial and when i declare something like

StyleFactory styleFactory = StyleFactory.createStyleFactory();
        Style style = styleFactory.getDefaultStyle();
in my app i get the same error under the first line of code and i have the
import org.geotools.styling.StyleFactory; code. 

Why are these two instances occuring???
-- 
View this message in context: 
http://www.nabble.com/Create-style-tp20719286p20719286.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to