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': 'http://il.water.usgs.gov/ifhp/will/_ags60fb0c9554ef42a58e7024d8464a2ecb.png'});mil.addImage(mi);
MapImageLayer in 4.5 seems to be missing the "addImage" method
What is the Equivalent in 4.5?
See the Functionality matrix | ArcGIS API for JavaScript 4.5
MapImageLayer in version 4.5 is the equivalent of ArcGISDynamicMapServiceLayer in 3.x - therefor the addImage method is not available.
I haven't been able to find an 4.x equivalent method for the image overlay.