Select to view content in your preferred language

Swap Layer list depending on which Base Layer (service) is active.

553
2
10-27-2010 06:18 AM
jameshawks
Deactivated User
Title says it all, is such thing a possible?
Tags (2)
0 Kudos
2 Replies
MikeHargreaves
Emerging Contributor
Straight out of the box, I don't think the FlexViewer can do that, but I'm guessing it could be done with a bit of coding (Though I'm not a Flex programmer - Robert?)...  But it also seems like if you group your operation layers properly in a service, you could have all the layers the user might want without too much clutter, and you give them control.  If you really want to preset what operational layers turn on for a give base map, it is also easy to clone your site and just change out the operational layers, and then have the user just choose which site to enter...  Not the answer you were looking for, I know, sorry.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
James,

   You would need to modify the MapSwitcherWidget.mxml to set the visibleLayers attribute of your mapservices. Might be a little more work than you are wanting to do though.
0 Kudos