ArcGIS API for JavaScript: EGLE/MinExtent (MapServer)

Built using the ArcGIS API for JavaScript