You probably need to update the first style of the first class and not the layer itself.
Steve From: [email protected] [mailto:[email protected]] On Behalf Of ahmet temiz Sent: Saturday, September 11, 2010 6:26 AM To: [email protected] Subject: [mapserver-users] change the color using updateFromstring hello how can I change the color of this layer(line) using updateFromstring in a java program ? Layer.updateFromString(upstring); how is upstring is constructed to change its color LAYER NAME "es_yukseklik" LABELITEM "elev" DATA "/usr/local/hsunucu/scontour92" STATUS OFF TYPE LINE #LABELITEM "level" CLASS COLOR 199 199 199 LABEL POSITION auto #SIZE TINY SIZE MEDIUM #OUTLINECOLOR 247 234 168 COLOR 149 149 149 END END # end of yukseklik object END # end of es_yukseklik layer regards
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
