ArcGIS API for JavaScript: Annotation/MyMapService (MapServer)

Built using the ArcGIS API for JavaScript