How to change the color of the Geometry object

Oct 31, 2013 at 3:59 PM

Is there any way that I can draw a road(Line String) or other Geometry Object with the color.

Oct 31, 2013 at 4:58 PM
you can set a style with a line color on a layer:
layer.Style = new VectorStyle { Line = new Pen(Color.Orange)};
or on a Feature:
feature.Styles.Add(new VectorStyle { Line = new Pen(Color.Violet, 5) });