AnsweredAssumed Answered

loading indicator & secured feature layers

Question asked by dbecker88 on May 2, 2012
Latest reply on May 3, 2012 by DSwingley-esristaff
ShowLoadingMessage fires and displays loading animation
dojo.connect(map,"onUpdateStart", ShowLoadingMessage('Loading...'))

HideLoadingMessage fires when the basemap is successfully drawn
dojo.connect(map, "onUpdateEnd", HideLoadingMessage);

identifyManager login then pops up, asking for username/password.

After signing in, the 9 feature layers are then added to map, but it takes a few seconds;

how do I fire my ShowLoadingMessage, then fire HideLoadingMessage when all feature layers are drawn?

I looked through featurelayer events and can't find what I'm looking for.