ArcGIS API for JavaScript: ExtractionDemo (MapServer)

Built using the ArcGIS API for JavaScript