ArcGIS API for JavaScript: LAYERS/Transit (MapServer)

Built using the ArcGIS API for JavaScript