Message "Creating legend..."  and no legend is shown

504
1
11-15-2012 09:23 AM
JoseSanchez
Occasional Contributor III
Hi all

I am running the sample

http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/layout_MapCont...

and pointing to a local ArcGIS Map Service running a map that has more than 20 layers.

The web page shows the message ""Creating legend...", but I left it run for several minutes and there isn't any legend.

Any suggestions?

thanks

.
0 Kudos
1 Reply
MattO_Hara
New Contributor
Are you getting any error messages in the console?

If you go to the layers you are loading do they have a Legend section on the rest services like on the layers in example?

If your local arcserver is publically accessible it might help if you made a little example of your issue in jsfiddle.
0 Kudos