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.4 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("../../chunks/tslib.es6 ../../core/JSONSupport ../../core/accessorSupport/decorators/property ../../core/has ../../core/Logger ../../core/RandomLCG ../../core/accessorSupport/decorators/subclass ../../geometry/support/jsonUtils ../../geometry/support/spatialReferenceUtils".split(" "),function(c,a,d,m,n,p,h,k,f){a=class extends a.JSONSupport{constructor(e){super(e);this.geometries=[];this.transformForward=this.transformation=this.outSpatialReference=null}toJSON(){const e=this.geometries.map(l=>
l.toJSON()),g=this.geometries[0],b={};b.outSR=f.srToRESTValue(this.outSpatialReference);b.inSR=f.srToRESTValue(g.spatialReference);b.geometries=JSON.stringify({geometryType:k.getJsonType(g),geometries:e});this.transformation&&(b.transformation=this.transformation.wkid||JSON.stringify(this.transformation));null!=this.transformForward&&(b.transformForward=this.transformForward);return b}};c.__decorate([d.property()],a.prototype,"geometries",void 0);c.__decorate([d.property({json:{read:{source:"outSR"}}})],
a.prototype,"outSpatialReference",void 0);c.__decorate([d.property()],a.prototype,"transformation",void 0);c.__decorate([d.property()],a.prototype,"transformForward",void 0);return a=c.__decorate([h.subclass("esri.rest.support.ProjectParameters")],a)});