-
Notifications
You must be signed in to change notification settings - Fork 0
Lab9
Uma Harano edited this page Feb 24, 2015
·
1 revision
###What you learn in this lab
- Add sketch tool to edit galleries
- Use of the sketch geometry for ancillary geometry manipulation
- Edit events
- Step 1: Create a sketch tool for advanced feature manipulation
- Step 2: Create a context specific sketch tool
- Step 3: Listen and react to editor events
Estimated completion time: 20 minutes
##Step 1: Create a sketch tool for advanced feature manipulation
- Download the EditingTools.pkgx from ArcGIS Online and save the project.
- CutWithoutSelection.cs as an ArcObjects example brought forward
- DAML for modify category and gallery placement
- Core.Data and editoperation
##Step 2: Create a context specific sketch tool
- Open DensifyButton.cs
- Use GeometryEngine to manipulate sketch geometry
- DAML to place into the right context location
##Step 3: Listen and react to editor events
- Open EditToolModule.cs
- Go through the various method to subscribe to events
- TrackEditEvents function is where the magic happens
- Optional: toggle the event listening to backstage property page