I have installed Viewer Flex 3.3 with source code.
I have some map services with several group layers. I am trying to control the visibility of these layers programmatically by adding or removing them from the visibleLayers arrayCollection when I start the application because I store this information in db using a web service.
In TOC widget correctly shows the visibility, only for map services but incorrectly shows visibility for layer of services, which means they are not in sync.
I am looking for a way to refresh the map / layers (service) or an event to dispatch so that the map will match the TOC widget and correctly display visible layers but I don't understand where made the sync
Can help me or this is a bug fixed in Viewer Flex superior at 3.3
Thank you