Select to view content in your preferred language

Has something changed in the last 2-3 days?

4697
11
02-18-2015 02:15 PM
BenCamp
Deactivated User

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?

0 Kudos
11 Replies
ReneRubalcava
Esri Frequent Contributor

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.

0 Kudos
BenCamp
Deactivated User

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.