AnsweredAssumed Answered

Get the selected vertex of an AGSSketchLayer object?

Question asked by pierscalvert on May 8, 2017

Is there any wayin the Runtime SDK 100.0 to get the selected vertex of an AGSSketchLayer object, or to set that vertex's new location? 

 

I'm trying to programmatically move a selected vertex to the current location (mapView.locationDisplay.location). 

 

For the same project it is also necessary to add a new point at the current GPS location at the touch of a button, and while it's is easy enough to add a sequence of points in a PolygonBuilder object one by one building a new polygon and then using and replaceGeometry in the AGSSketchLayer, there is no way to know after which point you would like to add the new one by getting the sketchLayer object's current selected vertex as it were.

 

Thanks

Outcomes