AnsweredAssumed Answered

SketchEditor: Is it possible to remove the halo around selected symbol?

Question asked by tenhavej on Sep 13, 2018
Latest reply on Sep 13, 2018 by JNery-esristaff

I am using Esri.ArcGISRuntime.UWP 100.3.0

 

When using the SketchEditor - in point selection mode - the displayed symbol will always have a halo around it:symbol halo.

I assume this is because the selected vertex is always the current point. I tried to remove the white halo by doing the following:

1). SketchEditor.Style.SelectionColor = Color.Transparent. This actually just makes the halo white.

2). SketchEditor.ClearVertexSelection(). This does not seem to do anything in point selection mode. Immediately after calling this, SketchEditor.SelectedVertex is still populated.

 

When selecting a point, there is no need to have a halo around the selected vertex to differentiate it, so my question is: Is there a way to get rid of the halo?

 

Here is my symbol for reference:

 

SketchEditor.Style.SelectedVertexSymbol = new SimpleMarkerSymbol() {       Style = SimpleMarkerSymbolStyle.Cross,       Color = Color.Transparent,       Outline = new SimpleLineSymbol()       {            Color = Color.Red,            Width = 2       },       Size = 20 }

 

Thanks,

Jeff

Outcomes