AnsweredAssumed Answered

Change Graphic Symbol

Question asked by rodrigo.felga on Nov 23, 2017
Latest reply on Nov 23, 2017 by rscheitlin

I have a GraphicsLayer with point symbols and I want to highlight the symbol when the user hover that symbol. I'm doing that using the view.hitTest method but the symbol is not updated. The solution I found is moving the center of the view slightly and that way the symbol is updated but the performance is very poor, causing a delay to highlight the symbol. removing and adding the graphic to the GraphicsLayer could be a solution but the order of the graphics is important to me. Is there a way to refresh the GraphicsLayer or just the Graphic itself?

Outcomes