Hi,

If you don't use a symbol and set the layer type to MS_LAYER_POLYGON,
it should work...
The "width" property specifies the outline width.

Jeff

2011/2/7  <[email protected]>:
> hello
>
> I tried to change outline color of the polygons programmatically.
> But nothing happens.
>
> here is my map file's fragment.
> ~~~~~~~~
> NAME "DAIRESEL-AKMA"
> EXPRESSION "Dairesel+Akma"
> SIZE 1
> OUTLINECOLOR 0 0 0
> SYMBOL 'CIRCLE'
> COLOR 123 0 255
> LABEL
> MINFEATURESIZE 30
> MINDISTANCE 150
> POSITION CC
> #SIZE TINY
> SIZE MEDIUM
> OUTLINECOLOR 247 234 168
> COLOR 1 1 1
> END
> ~~~~~~~~
>
> and
>
> my java code fragment concerned:
>
> ~~~~~~~~~
> layerObj heyLayer = new layerObj(map0);
> heyLayer = map0.getLayerByName("hey_layer");
> String upstring = "LAYER CLASS NAME \"DAIRESEL-AKMA\" OUTLINECOLOR 255 255
> 255 END END";
> heyLayer.updateFromString(upstring);
> heyLayer.setStatus(1);
> ~~~~~~~~~
>
> what do I have to do ?
>
> regards
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to