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
523 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","../../geometry/support/jsonUtils"],function(c,e){c.decodeGeometries=function(a,d,f){const g=e.getGeometryType(d);return a.map(b=>{b=g.fromJSON(b);b.spatialReference=f;return b})};c.encodeGeometries=function(a){return{geometryType:e.getJsonType(a[0]),geometries:a.map(d=>d.toJSON())}};Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})});