string objId = MyFeatureLayer.LayerInfo.ObjectIdField; object id = e.FeatureSet.Attributes[objId]; Graphic graphic = (from MyFeatureLayer.Graphics where g.Attributes[objId] == id select g).First(); if(Editor.EditVertices.CanExecute(graphic)) Editor.EditVertices.Execute(graphic)
string objId = MyFeatureLayer.LayerInfo.ObjectIdField; Graphic graphic = from MyFeatureLayer.Graphics where g.Attributes[objId] == e.FeatureSet.Attributes[objId] select g; if(Editor.EditVertices.CanExecute(graphic)) Editor.EditVertices.Execute(graphic)
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.