The following code does not seem to work (ie nothing is rendered)

StyleBuilder sb = new StyleBuilder();
LineSymbolizer lineSymbolizer = 
sb.createLineSymbolizer(ColorUtil.getRandomColor(), 1.5);
return sb.createStyle(featureTypeStyleName, lineSymbolizer);




while this one does:

StyleBuilder sb = new StyleBuilder();
LineSymbolizer lineSymbolizer = 
sb.createLineSymbolizer(ColorUtil.getRandomColor(), 1.5);
return sb.createStyle(lineSymbolizer);

       
In other words the method createStyle(String featureTypeStyleName, Symbolizer 
symbolizer)  does not seem to do anything
gaby



***************************************************************
**     Gabriella Turek               [EMAIL PROTECTED]      **
** National Institute of Water & Atmospheric Research (NIWA) **
** PO Box 8602 Christchurch New Zealand    +64-3-343-8067    **
***************************************************************


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to