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