ArcGIS API for JavaScript: Hosted/rLinesss (FeatureServer)

Built using the ArcGIS API for JavaScript