Select to view content in your preferred language

Sketch widget graphic vertex selection

258
0
07-20-2022 05:23 AM
MartinPorteš
New Contributor III

Hi, 

I'm working with sketch graphics and I would like to be able to get coordinates of a selected point of the graphic if it is a line or a polygon type.

Specifically when using reshape tool, vertexes are highlighted in orange, when user selects one of the nodes it is displayed as white. Is there any event or method to determine which of the line/polygon vertexes it is?

This sample is good to explain: https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=sketch-update-validation

MartinPorte_0-1658319726059.png

Thank you for you help.

MP

 

0 Kudos
0 Replies