[Mapserver-users] Get the color of a class

Irene Pérez irenutxa2000 at yahoo.es
Wed Mar 17 01:10:31 PST 2004


I need get the color of a layer, and I've:

$Class1 = $miLayer->GetClass(0);
echo "Class: ".$Class1-> name;
echo "Class: ".$Class1-> template;
and I obtain the name, the template ...
...
but i need the color:

echo "Class: ".$Class1->outlinecolor;
echo "Class: ".$Class1->color;
appears in blank.

Thanks.




___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es



More information about the MapServer-users mailing list