ArcGIS JavaScript API: legendbd (MapServer) Built using the ArcGIS API for JavaScript