Select to view content in your preferred language

From DynamicMapServiceLayer.visibleLayers disable query on Feature Layer

361
0
04-26-2013 02:38 PM
MeleKoneya
Frequent Contributor
I am adding both the feature layer and the map service to a map and setting the mode on the FeatureLayer to  esri.layers.FeatureLayer.MODE_SELECTION.  

The application will have the ability to change the visibile layers for the Map Service.   Based on the visible layers in the Map Service,  I would like to either allow or disallow a query on the feature layer within the Map Service.

How can I determine if the FeatureLayer is visible based on the visibleLayers for the Map Service.

Thanks,

Mele
0 Kudos
0 Replies