Select to view content in your preferred language

Layerlist minimizing

1162
4
01-25-2011 06:59 AM
K_Rocks
Occasional Contributor
Hi,

For anybody using the sample flexviewer, is there a solution to the problem of re-maximizing the layerlist widget after it has been minimized?
Unlike other widgets, the layerlist appears to lack a symbol which can be selected to maximize it.

Thanks for any help.
Tags (2)
0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus
K. Rocks,

   I got to say you have me puzzled with this question... All widget in the FlexViewer minimize and restore the same way... When you click the minimize button than you click the icon to restore it.

Is it not working like this sample site???

http://help.arcgis.com/en/webapps/flexviewer/live/index.html?config=../samples/config-layerlist.xml
0 Kudos
K_Rocks
Occasional Contributor
Unfortunately it seems not, Robert.
The 2.2 sample viewer that we downloaded does not appear to show an icon for the LayerList, which means it cannot be restored and the viewer has to be reloaded.

The LayerListWidget.xml doesn't mention the icon, so I assumed there was some possible issue with the .swf file
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
K. Rocks,

The icon for widgets does not come from the widgets configuration file but the main config.xml of the viewer.

<widget label="Layer List"
                icon="assets/images/i_layers.png"
                config="widgets/LayerList/LayerListWidget.xml"
                url="widgets/LayerList/LayerListWidget.swf"/>
0 Kudos
K_Rocks
Occasional Contributor
Ah, ok - so the LayerlList is seen as an ordinary widget container, and not as a UI element, in the config file.
Thanks a lot for clearing that up, Robert.
0 Kudos