Esri, NASA, NGA, USGS, FEMA | NYC OpenData, New Jersey Office of GIS, Esri, TomTom, Garmin, SafeGraph, GeoTechnologies, Inc, METI/NASA, USGS, EPA, NPS, US Census Bureau, USDA, USFWS |
Zoom In
Zoom Out

This sample creates a custom operation to undo/redo graphics. The custom operation inherits from esri/OperationBase. View the code for the custom operation.

Add a graphic to the map then use the undo/redo buttons to cycle through the operation stack.

Point Polyline Polygon
Undo Redo