Excluding SubLayers in the Layer List

2351
3
08-10-2012 10:54 AM
by Anonymous User
Not applicable
Original User: jonah84

I am trying to remove the sub layers from my layer list within flex viewer and I am having some trouble. I have attached two .jpg's to show the issue. Basically I just want to have a 1 click scenario so don't have to turn on/off these various layers
Primary Underground Electric Line- Single Phase
Primary Underground Electric Line- TwoPhase
Primary Underground Electric Line- Three Phase
Primary Underground Electric Line- Abandoned
Primary Underground Electric Line- Spare
Mobile-Primary Underground Electric Line


I know if I publish the Primary Underground Electric Line as one layer I can resolved the issue however our company wants to view only certain sub layers such as Primary Underground Electric Line- Two Phase. If anyone knows any work around's that would be great. Thanks a lot and have a great day
0 Kudos
3 Replies
by Anonymous User
Not applicable
Original User: ad_giles@hotmail.com

Jonah,

Are you using the out of the box layer list as this will only allow you to exclude whole map services try using Roberts enhanced TOC this allows you to remove sublayers:

http://www.arcgis.com/home/item.html?id=e2cb71d5c04d40d19e9f945ae0db7ce8

Regards

Anthony
0 Kudos
JonahWaterman
New Contributor III
Thanks Anthony!
0 Kudos
by Anonymous User
Not applicable
Original User: ad_giles@hotmail.com

Jonah,

Please don't forget to mark the post as answered,

Regards

Anthony
0 Kudos