There was some discussion here about function Graphic.getDojoShape() works fine in js api 3. but it does not work in 4.
Is there a more modern pattern for flashing graphics in the JSAPI 4x?
TIA
You can't update the graphics in place, so you need to remove, clone, modify, and add it back.
But for flashing, you could remove the graphic, use a setTimeout of maybe 300ms and add it back. This only applies for GraphicsLayer.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.