Select to view content in your preferred language

Legend

527
1
02-08-2012 10:40 AM
JohnLucotch
Regular Contributor
I'm working on creating a legend for one of my web applications.  I'm trying to pass the layers I want to appear in the legend but I can't get only those layers to appear in the Legend. I get the whole map.  Is there correct syntax to pass an array into the Legend?


<esri:Legend id="myLegend" width="100%" height="100%" scaleX="0.9" scaleY="0.9"                                                                      
            map="{map}"
            layers="{mapServiceIDs}"
            respectCurrentMapScale="false"/>


Thanks
Tags (2)
0 Kudos
1 Reply
IvanBespalov
Frequent Contributor
Try [ATTACH=CONFIG]11818[/ATTACH].
0 Kudos