ArcGIS API for JavaScript: Transportation/TRANS_Railroad (FeatureServer)

Built using the ArcGIS API for JavaScript