john.c.cartwright

onUpdateEnd, onUpdateStart events for esri.layers.Layer

Discussion created by john.c.cartwright on Apr 3, 2010
Latest reply on Jun 12, 2010 by john.c.cartwright
Hello All,

it appears that the onUpdateEnd event only fires for visible layers - is this by design?

Looking at the sample (http://help.arcgis.com/en/webapi/javascript/arcgis/demos/map/map_showloading.html), this will only work if all layers are visible.

Also, the onUpdateStart event does not behave as I would expect.  It does not fire when a layer is added to a Map like the onUpdateEnd does.  It does fire with zoom/pan, but only fires once even through there are multiple layers.  In this example I have four Layers added to a Map - two visible, two non-visible.  On a zoom/pan onUpdateEnd fires twice, onUpdateStart fires only once.

Am I missing something here?

Thanks!

--john

Outcomes