Select to view content in your preferred language

Dynamic Legend in javascript API

1226
1
02-18-2011 12:32 AM
SowmyaK
Emerging Contributor
Hi,

          How to display graphics layer in legend, which is added dynamically to map?I need help..


Thanks in advance,
Sowmya
0 Kudos
1 Reply
MatthewLawton
Deactivated User
There are a couple of Esri sample widgets for this here:

http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/widget_legend.html

and here:

http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/widget_legendvisible.html

They only seem to work for me in Firefox. Good luck!
0 Kudos