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.
 
 

5 lines
696 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 ../../request ../../core/accessorSupport/ensureType ../../geometry/support/jsonUtils ../utils ./utils ../support/ProjectParameters".split(" "),function(c,e,f,g,d,h,k){const l=f.ensureType(k);c.project=async function(b,a,m){a=l(a);b=d.parseUrl(b);const n={...b.query,f:"json",...a.toJSON()},p=a.outSpatialReference,q=g.getJsonType(a.geometries[0]);a=d.asValidOptions(n,m);return e(b.path+"/project",a).then(({data:{geometries:r}})=>h.decodeGeometries(r,q,p))};Object.defineProperty(c,Symbol.toStringTag,
{value:"Module"})});