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
588 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","../../geometry/support/jsonUtils","../utils"],function(d,f,g,e){d.densify=async function(a,b,c){const h=b.geometries?.[0].spatialReference;a=e.parseUrl(a);b={...a.query,f:"json",...b.toJSON()};c=e.asValidOptions(b,c);return f(a.path+"/densify",c).then(({data:k})=>(k.geometries||[]).map(l=>g.fromJSON(l).set({spatialReference:h})))};Object.defineProperty(d,Symbol.toStringTag,{value:"Module"})});