AnsweredAssumed Answered

MapImageServer JSAPI 4.5

Question asked by gtissington on Nov 12, 2017
Latest reply on Nov 13, 2017 by fcbassongis

In older version of ARCGIS JAVASCRIPT API you could load an overlay image with something like this:

var mil = new esri.layers.MapImageLayer();map.addLayer(mil);// create an add the actual imagevar mi = new esri.layers.MapImage({  'extent': { 'xmin': -79.933333, 'ymin': 32.783333, 'xmax': -80.933333, 'ymax': 33.783333},  'href': ''});mil.addImage(mi);

MapImageLayer in 4.5 seems to be missing the "addImage" method


What is the Equivalent in 4.5?