Layer onLoad event, how to handle an error in javascript api version 1.2(no on Error)

Discussion created by amena on Aug 1, 2011
Latest reply on Aug 2, 2011 by amena
Hi, good afternoon.

I will like do it but unfortunately I'm working on version 1.2 of the JavaScript API that do not support the event "onError". Someone could work with any idea to get the error when a service does not load?

Note: I can not change the version of the api.

Thank you.