[Mapserver-users] Outlinecolor of a MS_LAYER_LINE Type
mapserver@geochem.de
mapserver@geochem.de
Fri, 30 Jan 2004 14:52:01 +0100
Hi List,
i want to set the outlinecolor within the StyleObj of a layer with the
type MS_LAYER_LINE. I use the following code but the outlinecolor do not
appear:
$Layer -> set("type", MS_LAYER_LINE );
$poClass = ms_newClassObj($Layer);
$styleObj = ms_newStyleObj($poClass);
$styleObj -> color -> setRGB ( 0, 0, 255 );
$styleObj -> outlinecolor -> setRGB ( 0 , 0, 50);
$styleObj -> set ("symbolname", "kreis");
$styleObj -> set ("size", 8);
$poClass -> set("name", "Germany");
The same code works with MS_LAYER_POINT and MS_LAYER_POLYGON.
Do i miss something?
Thanks in advance.
Nicol
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users