reddaiah.purma

Unable to get images before LayerName in Legend and TOC

Discussion created by reddaiah.purma on Aug 4, 2012
Latest reply on Aug 6, 2012 by reddaiah.purma
var fireLayer = new esri.layers.ArcGISDynamicMapServiceLayer("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer",{id:'fire'});

var landBaseLayer = new esri.layers.ArcGISDynamicMapServiceLayer("http://10.1.0.24/ArcGIS/rest/services/test/MapServer", { id: 'India' });

When i add the above services to map and get Legend or TOC.....i am able to get icons before Layer Name for the fireLayer but it is showing blank for my Local Service Layers ....

I am using proxy.jsp and i provided both service urls in proxy ...

Is that a problem with proxy file or my Local Service...Is there anything more to add in proxy file....


[ATTACH=CONFIG]16665[/ATTACH]

Attachments

Outcomes