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.
 
 

7 lines
1.7 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("exports ../../chunks/tslib.es6 ../../TimeExtent ../../TimeInterval ../../core/accessorSupport/decorators/property ../../core/has ../../core/Logger ../../core/RandomLCG ../../core/accessorSupport/decorators/reader ../../core/accessorSupport/decorators/subclass ../../core/accessorSupport/layerContainerType ../support/fieldUtils ../support/TimeInfo ../../portal/timeUnitKebabDictionary".split(" "),function(f,c,k,g,e,t,u,v,l,m,n,p,q,r){const h={type:Boolean,json:{read:{source:"timeAnimation"},
write:{target:"timeAnimation",layerContainerTypes:n.excludeTables}}};f.TemporalLayer=a=>{a=class extends a{constructor(){super(...arguments);this.timeOffset=this.timeExtent=null;this.useViewTime=!0}readOffset(d,b){b=b.timeInfo.exportOptions;if(!b)return null;d=b.timeOffset;b=r.timeUnitKebabDictionary.fromJSON(b.timeOffsetUnits);return d&&b?new g({value:d,unit:b}):null}set timeInfo(d){p.fixTimeInfoFields(d,this.fieldsIndex);this._set("timeInfo",d)}};c.__decorate([e.property({type:k,json:{write:!1}})],
a.prototype,"timeExtent",void 0);c.__decorate([e.property({type:g})],a.prototype,"timeOffset",void 0);c.__decorate([l.reader("service","timeOffset",["timeInfo.exportOptions"])],a.prototype,"readOffset",null);c.__decorate([e.property({value:null,type:q,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],a.prototype,"timeInfo",null);c.__decorate([e.property(h)],a.prototype,"useViewTime",void 0);return a=c.__decorate([m.subclass("esri.layers.mixins.TemporalLayer")],
a)};f.useViewTimeProperty=h;Object.defineProperty(f,Symbol.toStringTag,{value:"Module"})});