We want to implement a custom MapTool in ArcGIS Pro that selects a Feature on the map, then (OnSketchComplete) pass the Geoemtry of the feature to a "class/control" called FeatureEditor: Editor.Start(geometry).
The GeometryEditor would then show an overlay graphic that has the selected geometry, and can be used to move and rotate the graphic. The FeatureEditor provides a Method to get the result geometry after finishing moving or rotation.
Such a FeatureEditor exits already in RUNTIME SDK:
https://developers.arcgis.com/net/winui/sample-code/create-and-edit-geometries/
https://www.esri.com/arcgis-blog/products/sdk-net/developers/migrating-your-legacy-sketcheditor-code-to-the-new-geometryeditor/
Melden Sie sich an, um zu posten, Inhalte zu folgen und mehr. Neu hier? Kostenlos registrieren.