I would like to do a small simple thing, but I'm hitting a wall.
The default behaviour for adding popups to layers, seems to be setting the returnCatalogItems paramater to false for ImageService layers. I would like to change this parameter to true, without having to re-implement the functionality myself. All examples I have read indicate that I can build it myself using ImageServiceIdentifyTask and ImageServiceIdentifyParameters. However, the default behaviour IS doing this automatically, just not setting that parameter. Seems like a lot of work for a parameter.
To explore, I looked into the API code. returnCatalogItems is set to 'not 0', which to me means true right? So.. why is it sending false to the server? Chrome/Firefox. Is there a way to set this parameter without re-implementing the Identify Task?