Select to view content in your preferred language

layer list

1039
1
01-16-2017 12:38 AM
vamsi_krishnavissapragada
Deactivated User

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 Alum

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

0 Kudos