ArcGIS API for JavaScript: Hosted/ExtentPoly (FeatureServer)
Built using the ArcGIS API for JavaScript