Custom Gis Application with Arcgis Javascript API with modern layouting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

4 lines
545 B

// All material copyright Esri, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.30/esri/copyright.txt for details.
//>>built
define(["exports"],function(d){d.getFirstFrame=function(a){const b=a.getFrame(0);if(b instanceof HTMLImageElement||b instanceof HTMLCanvasElement)return b;const c=document.createElement("canvas");c.width=a.width;c.height=a.height;a=c.getContext("2d");b instanceof ImageData?a.putImageData(b,0,0):a.drawImage(b,0,0);return c};Object.defineProperty(d,Symbol.toStringTag,{value:"Module"})});