Hello All,I want to customize the legend box elements .Please check the screenshot (I want to remove the highlighted information ...its the map service name and symbol in ArcMap)[ATTACH=CONFIG]18636[/ATTACH]How its possible? Is there any way or Are there any parameter in the legend constructor ??I tried to modify following code but it was not successful dojo.connect(map,'onLayersAddResult',function(results){ var layerInfo = dojo.map(results, function(layer,index){ return {layer: abc,title: 'new legend'}; }); if(layerInfo.length > 0){ var legendDijit = new esri.dijit.Legend({ map:map, layerInfos:layerInfo },"legendDiv"); legendDijit.startup(); } }); Any help will be great...Thanks in advance : )