Srithar

esri.dijit.Legend.startup() is not working in IE10

Discussion created by Srithar on Apr 2, 2014
Hi..

function generateLegend(results) {
alert('Inside Method');
legend = new esri.dijit.Legend({
  map : map,
  layerInfos : legendLayers
}, "legendDiv");
alert('Before Method');
legend.startup(); alert('After Method');
}

My broswer is getting closed in legend.startup() method...

Outcomes