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.
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,
I'm also curious about this. I'm currently using 4.25 and want to dynamically change a TextSymbol placed on a map. Doing graphic.symbol.text = newText does indeed change the attributes of the graphic, but it does not update on the map.