I am using the javascript identify widget. However, I am adding and removing layers on my map dynamically. I need to know how to add/remove map services. Or, disable a service if their is no corresponding layer. At this time, even with the layer option set to Visible, it will still identify a layer after it's been removed.
Paige