Solved! Go to Solution.
I have customized some code in a custom app of mine to switch between different 'groups' of layers dynamically using one dynamic map service. Through different buttons, it will show only the layers in the legend for that group, as well as hide any layers that are in the service, but which aren't part of that group. The visibility settings of each group are saved as well, so that when you go back and forth between groups, it turns on only the layers you had on for that group previously, and nothing else.
This works perfectly when you have only one layer on at a time and dynamically switch the layers between groups. However, once you add in any additional layers, the image blending gets screwey, and sometimes you see parts of layers hanging on the screen that were already set to invisible, or ones that do not show at all once you set them to visible. Once you change the map extent, it displays fine. The problem all occurs when you enable/disable layers within the same exact extent.
Is there anything I can do to try to fix this problem? Anyone ran into something similar before?