Layer List and Widgets??????

770
4
03-21-2011 09:30 AM
JessicaYates1
New Contributor
Is there a way to add a widget to the layer list that pops up when you enter the site?
Tags (2)
0 Kudos
4 Replies
JohnGarvey
New Contributor
I have a couple of questions:

Are you talking about arcgis viewer for flex?

If this is the viewer, is the layer list the drop down layers that you can check on and off to make layers visible?

If this is the viewer, it seems that you want to group the widget into a drop down menu. Add a <widgetgroup> tag to your config.xml and place the widgets you want to place into that tag (*make sure to close tag).

Hope this helps
0 Kudos
PeterFerretti
New Contributor III
Is there a way to create unique icons for widgetgroups? I can't seem to find this in the code... Thanks!
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Peter,

  Sure if you look at the documentation:

http://help.arcgis.com/en/webapps/flexviewer/help/01m3/01m300000003000000.htm

You will see that the widgetgroup has an attribute of label and icon.
0 Kudos
PeterFerretti
New Contributor III
Hi Robert,
Thanks so much for the quick response. I'm not sure how I missed that??? Simple fix. Thanks!
0 Kudos