AnsweredAssumed Answered

FeatureLayer load event not working

Question asked by anuket on Mar 1, 2015
Latest reply on Mar 2, 2015 by kenbuja

I am trying to measure how much time it takes to render features. My complete code is located here:

arcgis_wfs.html - Google Drive

 

Basically, I create a new FeatureLayer and do esri.request with predefined URL. As a result I see that all features were successfully added to map, but I am interested in how much time it took to render those features. I try to measure it with FeatureLayer  "load" event, but it seems that it is not working as it does not print any time. What might be the problem?

 

Another issue is that after some time I get a timeout error:  dojo.io.script error q {message: "Timeout exceeded", response: Object, log: undefined, stack: (...), dojoType: "timeout"…}. But browser network console indicates that all requests are completed. What it tries to fetch?

Outcomes