AnsweredAssumed Answered

Setting Graphic symbol color after graphics layer is drawn on the map

Question asked by sansan9 on May 2, 2014
Latest reply on May 2, 2014 by sansan9
Hello,

I have a graphics layer drawn on the map with several other layers. I want to set a different color for the symbol based on a condition. So, I have used symbol.SetColor method which does not work.

var layer = map.getLayer('layerid'); layer.graphics[0].symbol.setColor(new dojo.Color("red"));


Any suggestions?

-Santhosh

Outcomes