Legend Examples Using JavaScript API Components
After you have installed the Spatial Module web services, you can open the JavaScript API examples page on the Spectrum Welcome Page at
http://<server>:<port>/JavaScriptExamples/
to see the various components in
action. To try the LegendControl, click Map
Legend from Mapping Service or Manually Populated Map Legend.