ArcGIS JavaScript API: AKHydro/AKHydro_Editing_Extents
Built using the ArcGIS JavaScript API