I am trying to draw a polygon on the fly in a map view. Is there any tool available in arcgis runtime sdk for .net (using 100.9.0).
I am using https://developers.arcgis.com/net/wpf/sample-code/cut-geometry/ as a sample, but instead of providing MapPoints() as coordinates in code file, I want to register the mouse click at runtime and use those clicks as input points to draw a polygon on the MapView.
Your help is greatly appreciated.
To draw a shape based on user input you use the SketchEditor.StartAsyn method. There is a simple example shown on the help page
Thanks for pointing out the resource but after creating the polygon according the resource I am not able to conduct any kind of geoprocessing on it. It is just like a graphic on my map. Please let me know if there is anything I am missing.