Hi,
I would like to draw a polyline with an outline in a Scene.
I followed the Render multilayer symbols example from the ArcGIS Maps SDK for .NET Samples app.
I used a MultilayerPolylineSymbol with two SolidStrokeSymbolLayer, one for the inner line and one for the outline.
var strokeLayer = new SolidStrokeSymbolLayer(LINE_SIZE + 1, Color.Black);
var lineLayer = new SolidStrokeSymbolLayer(LINE_SIZE, color);
var multilayerPolylineSymbol = new MultilayerPolylineSymbol(new List<SymbolLayer> { strokeLayer, lineLayer });
PolylineGraphic = new Graphic(polyline, multilayerPolylineSymbol);
It works, but I’m getting some kind of Z‑fighting visual glitches:
Is there a better way to get an outlined polyline in a Scene?
Thanks for your help.