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.
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.
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,
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.