I wanted to know tile loaded event in ArcGIS API for JavaScript. As soon as tile is loaded this event should be called which give me tile specific information like tiles coordinates etc.

  • There is no ready made event for this. You'll probably have to make and use a custom layer which gives out these kinds of events. – Devdatta Tengshe Feb 16 '15 at 13:26

You could use aspect oriented programming to intercept the start of end of a function

More info here on dojo aspect. http://dojotoolkit.org/reference-guide/1.10/dojo/aspect.html

aspect.before(tiledLayer, "_addImage", function() {

  // you will have all the info you need in the arguments array

}, true)
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.