Select to view content in your preferred language

Excludeing Sublayers

463
2
03-22-2011 05:11 AM
ChrisMarsh
Deactivated User
Is it possible to exclude sublayers? Using the excludelayer tag in the Mapswitcher widget I can only exlcude the whole operational layer. Any help would be greatly appreciated.

Thanks
Tags (2)
0 Kudos
2 Replies
JonFisher
Emerging Contributor
You can set the visibility of sublayers using the layer tag's visiblelayers attribute:
http://help.arcgis.com/en/webapps/flexviewer/help/layer_tag.htm

You can exclude sublayers from the table of contents using Robert Scheitlin's TOC widget:
http://www.arcgis.com/home/item.html?id=e2cb71d5c04d40d19e9f945ae0db7ce8
0 Kudos
ChrisMarsh
Deactivated User
I tried the visbile layers and it just checked or unchecked the data, so I will try that widget.

Thank you,

Chris
0 Kudos