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.5 KiB
6 lines
1.5 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 ../../geometry ../../core/JSONSupport ../../core/accessorSupport/decorators/property ../../core/accessorSupport/ensureType ../../core/RandomLCG ../../core/has ../../core/accessorSupport/decorators/subclass ../../geometry/SpatialReference".split(" "),function(c,b,g,d,h,n,p,k,l){b=class extends g.JSONSupport{constructor(a){super(a);this.outSpatialReference=this.locationType=this.countryCode=this.categories=this.addresses=null}};c.__decorate([d.property({type:[Object], |
|
json:{read:{reader:a=>a?.records?a.records.map(e=>e.attributes):null},write:{writer:(a,e)=>{const f=[];Array.isArray(a)&&a.forEach(m=>{f.push({attributes:m})});e.addresses={records:f}}}}})],b.prototype,"addresses",void 0);c.__decorate([d.property({type:[String],json:{read:{source:"category",reader:a=>a?a.split(","):null},write:{target:"category",writer:(a,e)=>{e.category=a?a.join(","):null}}}})],b.prototype,"categories",void 0);c.__decorate([d.property({type:String,json:{read:{source:"sourceCountry"}, |
|
write:{target:"sourceCountry"}}})],b.prototype,"countryCode",void 0);c.__decorate([d.property({type:String,json:{write:!0}})],b.prototype,"locationType",void 0);c.__decorate([d.property({type:l,json:{read:{source:"outSR"},write:{target:"outSR"}}})],b.prototype,"outSpatialReference",void 0);b=c.__decorate([k.subclass("esri.rest.support.AddressesToLocationsParameters")],b);b.from=h.ensureType(b);return b}); |