How do I make a dashed line?

Use the Layer.Style.Line.DashPattern property:

myVectorLayer.Style.Line.DashPattern = new float[] { 4.0f, 2.0f };

Dashed.jpg

Last edited Aug 31, 2012 at 12:22 PM by FObermaier, version 7