layer = new esri.layers.ArcGISDynamicMapServiceLayer(mapServiceInfo.URL); dojo.connect(layer, 'onError', layer_onError); .... function layer_onError(error) { if (error) alert("Problem loading Layer\n" + "code = " + error.code + "\n" + error); }
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.