ArcGIS API for JavaScript: Hosted/TransportVehicleroute (FeatureServer)

Built using the ArcGIS API for JavaScript