Select to view content in your preferred language

doubt with com.esri.ags.events.EditEvent

570
1
03-11-2013 11:22 PM
lizhiwei
New Contributor
com.esri.ags.events.EditEvent.GRAPHICS_MOVE
com.esri.ags.events.EditEvent.GRAPHICS_MOVE_FIRST

What is the difference between GRAPHICS_MOVE and GRAPHICS_MOVE_FIRST?
Tags (2)
0 Kudos
1 Reply
BjornSvensson
Esri Regular Contributor
Think of MOVE_FIRST as the first "MOVE", followed by many "MOVE"s.

The general flow goes something like this:

  • Click on the feature (GRAPHICS_MOVE_START)

  • Start moving it (GRAPHICS_MOVE_FIRST)

  • Move it around (GRAPHICS_MOVE, GRAPHICS_MOVE, GRAPHICS_MOVE...)

  • Stop moving it (GRAPHICS_MOVE_STOP)


We should update the API Reference to be more clear on that:
http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/events/EditEvent.html#constantSumma...
http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/tools/EditTool.html#eventSummary
0 Kudos