How do I redraw a graphicLayer in 4.x?

341
1
04-13-2022 10:55 AM
MattStayner
Occasional Contributor II

How do I redraw a graphicLayer in 4.x? In 3.x, there was this great redraw method.

I'm custom editing a feature's attributes. I want to redraw the layer after I have made the update so the symbol updates. If I zoom in/out then the feature updates. I want to do it without waiting for the user to zoom.

Tags (2)
0 Kudos
1 Reply
UndralBatsukh
Esri Regular Contributor

Hi there, 

The GraphicsLayer should update without you having to do anything additional. Which version of the 4.x api are you using? Do you have a reproducible case? 

Thanks,

0 Kudos