I am having some difficulties in getting the output of an ImageSnapshot of my application's map to accurately show the current state of the layers.
For reasons I won't go into here, for my particular ImageSnapshot, I am only interested in capturing GraphicLayers. So, I loop through all of the map layers, turn non-GraphicsLayers off, and fire the ImageSnapshot.
Sometimes this logic works, other times the Imagesnapshot output contains non-GraphicsLayers. I am thinking that I am not allowing the necessary update cycle(s) to complete after I toggle off the non-GraphicLayers before firing the ImageSnaphot?
Does anyone have experience and/or suggestions for using the ImageSnaphot under similar circumstances?