AnsweredAssumed Answered

API for JS: How to know when a graphicsLayer's drawing is done?

Question asked by cai_gis on Dec 5, 2016
Latest reply on Dec 7, 2016 by cai_gis

Hey guys,

 

What I am trying to do is to keep the loading icon until the drawing on the map is done, and I am using GraphicsLayer to display the features. I have tried to use map and layer events including "load", "update", "update-start", "update-end", during the process I clear all the graphics and add new graphics, but none of these events above is triggered. 

 

Does anyone have a solution for this? Thanks!

Outcomes