AGSFeatureLayer visibility

Discussion created by eddof13 on Aug 19, 2011
Latest reply on Aug 22, 2011 by eddof13
I can see how to change visibility through the visibleLayer property of AGSDynamicMapServiceLayer or the defaultVisibility property of MapServiceLayerInfo, but how can I change the visibility (turn off/on) of AGSFeatureLayer? I would prefer to not have to add/remove layers to the AGSMapView every time someone wants to change the visibility.