layer list

847
1
01-16-2017 12:38 AM
vamsi_krishnavissapragada
New Contributor II

i am using a layer list for my map...if turned off the root layers visibilty then the layers are all getting turned off but the identify task recongises the items as it is independent of the layer list any solution how to handle the issue..?

0 Kudos
1 Reply
FC_Basson
MVP Regular Contributor

Try setting your Identify Task layerOption parameter to LAYER_OPTION_VISIBLE:  IdentifyParameters | API Reference | ArcGIS API for JavaScript 3.19 

0 Kudos