[mapserver-users] failing in updateFromString

Alan Boudreault aboudreault at mapgears.com
Fri Feb 19 09:50:24 EST 2010


A color should be in a style object.
something like this should work:

layer.updateFromString("LAYER CLASS STYLE COLOR 245 13 60 END END END");

Alan

On February 19, 2010 03:29:03 am ahmettemiz88 at gmail.com wrote:
> hello
> 
> I want to change color of contour map according to
> another map that lies beneath of contour map. Otherwise
> contours cannot be discerned.
> 
> 
> And I thought I might be able to change of lines' color using
> 
> "layer.updateFromString("COLOR 245 13 60");"
> 
> but it failed.
> 
> what might the alternative solutions be ?
> 
> regards
> 

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com


More information about the mapserver-users mailing list