I'm having an issue with one of my layers depending on if it's toggled on or off in the layer list.
Here is the example, when the below configuration is selected, the identify widget works fine:
When the below configuration is used, the identify widget fails to return any values.
When they are both selected the identify widget works as it should.
Can anyone replicate this? here is my app:
The issue is that you have a highly unusual configuration in your map service. Have a group layer and a sublayer named identically is Highly unusual and the cause of this issue.
Hi Robert, I was able to replicate this with my other grouped map layers, but not all of them, only the Environmental and Plat Archive so far. Turning on the parent layer without any of the grouped layers seems to cause it. I did have the layer list expanded by default using your code, but took it out and it didn't seem to change the issue.