ArcGIS API for JavaScript: SpecificPurpose/DPW_Sketch_Edit (MapServer)
Built using the ArcGIS API for JavaScript