All of a sudden - with no code update from me - the symbols for the identifytask on my web application have stopped rendering. Has anyone else experienced this?
I can't really test it, but if you look at the Esri sample, the symbology for selected items is set in the Popup that is passed to the map.
ArcGIS API for JavaScript Sandbox
You could also try manually setting the symbology in your doIdentify method.
feature.setSymbol(symbol); // you define symbol near the top
I'm not sure why it was working and stopped working for you, but I think either of the above solutions should do the trick... I think.
Thank you everyone for the responses. I think I've tracked the change to some setting in my map service. If I look back at an older version of my app that is referencing a different service the symbology works as expected. I will investigate some change in the service.
Thanks again.