Select to view content in your preferred language

ArcGIS Dynamic Layer and Load Event

2963
3
08-31-2011 04:02 PM
ZahidChaudhry
Deactivated User
I have a dynamic layer that takes little longer to load. I want to show a busy cursor until everything is displayed on the map. I have tried, load, render, creationcomplete event, but no luck..any suggestions..
Tags (2)
0 Kudos
3 Replies
ZahidChaudhry
Deactivated User
I have a dynamic layer that takes little longer to load. I want to show a busy cursor until everything is displayed on the map. I have tried, load, render, creationcomplete event, but no luck..any suggestions..


Still no Luck...I thought may be someone from ESRI will be able to Help...
0 Kudos
BjornSvensson
Esri Regular Contributor
You're probably looking for the updateStart/updateEnd events on the Layer class.  They are listed in the API Reference under http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#e... and there is a sample for events called EventBasics.mxml that might help (it was part of the the API Library download) and can be seen in action at http://help.arcgis.com/en/webapi/flex/samples/index.html#/Events/01nq00000019000000/.

Hope this helps.
0 Kudos
ZahidChaudhry
Deactivated User
Thanks Bjorn.
0 Kudos