I am interested in drawing several lines using the SimpleLineSymbol. I have run into two problems. First, in the graphics scene (3D) the lines appear and disappear behind the 3D terrain when viewed from different camera angles. Even though there is no terrain obstructing the line (no terrain between camera and graphic) the lines still appear to render in incorrect order (behind terrain). Is there a setting I need to set for this to work (e.g. a depth test). My second problem is that I want each one the lines to be a different color. Does that mean I will need a new GraphicsOverlay for each line? For example, this is how I am currently setting my renderer.
SimpleLineSymbol* sls = new SimpleLineSymbol(SimpleLineSymbolStyle::Solid, lineColor, 3, thisF);
lineGraphicOverlay->setRenderer(new mn::SimpleRenderer(sls, thisF));
This makes each line the same color. Is there a way to set each line as a different color while only having one GraphicsOverlay?
Thanks for the help!