AnsweredAssumed Answered

Problem with two ArcGISImageServiceLayer on API JS Version 3.18

Question asked by santiago.horcajo on Nov 15, 2016
Latest reply on Nov 28, 2016 by BSnider-esristaff

Why Im getting  on console the error: 'This deferred has already been resolved' when I try to create two ArcGISImageServiceLayer on API JS Version 3.18 ??, I use the sandbox (ArcGIS API for JavaScript Sandbox ) and I only add: 

 

var imageServiceLayer2 = new ArcGISImageServiceLayer("https://sampleserver6.arcgisonline.com/arcgis/rest/services/Toronto/ImageServer", {
imageServiceParameters: params2,
opacity: 0.75
});

 

see my code here https://jsfiddle.net/sqooqhrv/#&togetherjs=xFy4Lduq1H

Outcomes