[MAPSERVER-USERS] How TO change color of a layer using mapscript(without editing mapfile)

yatendra yatendra.jaiswal at gmail.com
Fri May 2 02:48:44 EDT 2008

Thanks for reply
i tried this code but there is null reference in 
"$style->color->setRGB( 255, 0, 0 ); 
$style->outlinecolor->setRGB( 255, 0, 0 );"
this step....
Please giude me...
color of  a layer is not schanging

Thanks Regards

yatendra wrote:
> Hi friends,
> I am using asp.net to develop application on mapserver.
> I want to change layer color available in my mapfile.
> Is it possible to change layer color without editing layer in mapfile?
> What function do i need to use to do this?
> Can i give unique value to each feature?
> Is it also possible?
> Please reply if any one know regarding this.
> any idea will also be helpful to me...
> Thanks regards

View this message in context: http://www.nabble.com/How-TO-change-color-of-a-layer-using-mapscript%28without-editing-mapfile%29-tp16983974p16997022.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

More information about the mapserver-users mailing list