ArcGIS API for JavaScript: Transportation/Railroad (FeatureServer)
Built using the ArcGIS API for JavaScript