Select to view content in your preferred language

How to get the updated graphic after using Move tool of the edit toolbar

866
2
Jump to solution
11-01-2012 09:56 AM
Swee_HengPoon
Emerging Contributor
Can anyone tell me if there is any solution for getting the updated graphic after moving the graphic with the move tool of the edit toolbar?
0 Kudos
1 Solution

Accepted Solutions
derekswingley1
Deactivated User
The edit toolbar has a number of events that you can monitor depending on when you want to interact with the graphic. It sounds like you want either onGraphicMoveStop or onDeactivate. Both will pass the graphic that was being edited to a function you define.

View solution in original post

0 Kudos
2 Replies
derekswingley1
Deactivated User
The edit toolbar has a number of events that you can monitor depending on when you want to interact with the graphic. It sounds like you want either onGraphicMoveStop or onDeactivate. Both will pass the graphic that was being edited to a function you define.
0 Kudos
KellyHutchins
Esri Notable Contributor
The Edit Toolbar has events to help with this including onGraphicMoveStop which fires after a graphic has been moved. The event provides access to the moved graphic.

http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/edit.htm#onGraphicMoveStop
0 Kudos