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