ArcGIS API for JavaScript: External/VectorPolyline (MapServer)

Built using the ArcGIS API for JavaScript