ArcGIS API for JavaScript: CenterlineText (MapServer)

Built using the ArcGIS API for JavaScript