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.
 
 

6 lines
1.2 KiB

// 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","../../core/has","../../core/libs/gl-matrix-2/factories/vec3f64","../../geometry/support/aaBoundingBox"],function(b,h,p,e){const k=e.fromValues(-.5,-.5,-.5,.5,.5,.5),l=e.fromValues(-.5,-.5,0,.5,.5,1),m=e.fromValues(-.5,-.5,0,.5,.5,.5);h=["butt","square","round"];e=[...h,"none"];b.lineCaps=h;b.lineJoins=["miter","bevel","round"];b.objectSymbolLayerBoundingBoxTetrahedron=m;b.objectSymbolLayerBoundingBoxUnitCube=k;b.objectSymbolLayerBoundingBoxUnitCylinder=l;b.objectSymbolLayerPrimitiveBoundingBox=
function(c){switch(c){case "sphere":case "cube":case "diamond":return k;case "cylinder":case "cone":case "inverted-cone":return l;case "tetrahedron":return m}};b.objectSymbolLayerSizeWithResourceSize=function(c,{isPrimitive:f,width:d,depth:a,height:g}){f=f?10:1;if(null==d&&null==g&&null==a)return[f*c[0],f*c[1],f*c[2]];d=p.fromValues(d,a,g);let n;for(a=0;3>a;a++)if(g=d[a],null!=g){n=g/c[a];break}for(a=0;3>a;a++)null==d[a]&&(d[a]=c[a]*n);return d};b.pathCaps=e;Object.defineProperty(b,Symbol.toStringTag,
{value:"Module"})});