ArcGIS API for JavaScript: Data/Railroad (FeatureServer)

Built using the ArcGIS API for JavaScript