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