I was wondering if anyone has come across this problem. I have a webmap that contains a dynamic map service. All the layers in the service have popups enabled in the webmap. Some layers have their visibility turned on by default in the webmap and others are turned off. In the AGOL map viewer everything seems to work fine, however if I publish the webmap as an application or use it in a simple JSAPI application the popups only work for layers that have their visibility turned on by default in the webmap. It seems to me theres an api bug here, but I'm struggling to find a workaround. Any help would be great
webmap
http://www.arcgis.com/home/item.html?id=488207cb49e045d5910a6496c1a0b26c
this WAB displays the symptoms, but note this is not an isolated WAB issue as I can replicate this in any code I use the web map in
WAB application
ArcGIS Web Application
Thanks,
David