Polyline Termination

Discussion created by gregedwards on Dec 16, 2011
Latest reply on Dec 17, 2011 by gregedwards
I have created more than one polyline, each being a distinct segment. Each lines is added separately to a single graphics layer. My code looks like the following:

                foreach (var line in polylineList)
                    Graphic graphic = new Graphic { Symbol = defaultLineSymbol, Geometry = line };

When the map is rendered, all of the lines are connected together as if they were one single line.

Is there special code that needs to be added to ensure each segment is independent of one another? Maybe there a special line terminator that needs to be appled to each segment? 

How do I ensure each segment is independent of the others? Any assistance will be helpful.
Thank you.
-Greg Edwards