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
516 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(e){const f={width:600,height:400};e.getOptimalThumbnailSize=function(c,d){d=d||f;let {width:a,height:b}=d;d=a/b;1.5>d?b=a/1.5:1.5<d&&(a=1.5*b);a>c.width&&(b*=c.width/a,a=c.width);b>c.height&&(a*=c.height/b,b=c.height);return{width:Math.round(a),height:Math.round(b)}};Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});