detect/remove select vertex in 100.1 sdk?

551
2
09-07-2017 03:49 PM
ReedHunter
New Contributor III

The 10.2.x SDK allowed users to delete the currently selected vertex through the AGSSketchGraphicsLayer's removeSelectedVertex command.   I have customers accustomed to this feature in 10.2.x, and I can't seem to find the equivalent in 100.1.  Does anyone know how to do this in the latest SDK?  This is simple enough for point FeatureTableLayers, but I also support polyline and polygon editing.  

Thanks

0 Kudos
2 Replies
DiveshGoyal
Esri Regular Contributor

Hi, Reed -

This capability is now built into the interactions supported by the sketch editor. Users can double tap on a selected vertex, and they will be presented with a context menu to remove the vertex. 

If you were hoping to do this programmatically instead, right now we don't expose that ability, but we plan to provide some additional APIs in the next release that will let you discover the selected vertex and then delete it.

FabianoScardua
New Contributor II

+1

0 Kudos