ArcGIS API for JavaScript: KML/ElettromecKML (MapServer)

Built using the ArcGIS API for JavaScript