MapPoint addPoint; void MyMap_MouseClick(object sender, ESRI.ArcGIS.Client.Map.MouseEventArgs e) { addPoint = e.MapPoint; } void MyMap_KeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.Delete) MyDrawObject.UndoLastVertex(); else if (e.Key == Key.Insert) MyDrawObject.AddVertex(addPoint); else if (e.Key == Key.Enter) MyDrawObject.CompleteDraw(); }
Where can I read about about this new feature in the draw class in 2.1?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.