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.8 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/lang ../core/Logger ../core/accessorSupport/decorators/property ../core/has ../core/accessorSupport/decorators/subclass ../views/3d/environment/SunnyWeather ../views/3d/environment/weather ./lightingTypes ./SunLighting ./VirtualLighting ./background/utils".split(" "),function(b,a,k,l,c,e,m,n,g,p,h,q,r){var f;e=(d,u,t)=>({enabled:!t?.isPresentation});a=f=class extends a.JSONSupport{constructor(d){super(d);this.lighting=new h;this.background=null;
this.starsEnabled=this.atmosphereEnabled=!0}set weather(d){g.validateWeatherType(d?.type,l.getLogger(this))&&this._set("weather",d)}clone(){return new f(this.cloneConstructProperties())}cloneConstructProperties(){return{lighting:this.lighting&&"virtual"===this.lighting.type?q.prototype.clone.call(this.lighting):h.prototype.clone.call(this.lighting),background:k.clone(this.background),atmosphereEnabled:this.atmosphereEnabled,starsEnabled:this.starsEnabled,weather:this.weather.clone()}}};b.__decorate([c.property({types:p.lightingTypes,
nonNullable:!0,json:{write:!0}})],a.prototype,"lighting",void 0);b.__decorate([c.property(r.backgroundProperty)],a.prototype,"background",void 0);b.__decorate([c.property({type:Boolean,nonNullable:!0,json:{write:{overridePolicy:e}}})],a.prototype,"atmosphereEnabled",void 0);b.__decorate([c.property({type:Boolean,nonNullable:!0,json:{write:{overridePolicy:e}}})],a.prototype,"starsEnabled",void 0);b.__decorate([c.property({types:g.weatherTypes,nonNullable:!0,json:{write:!0},value:new n})],a.prototype,
"weather",null);return a=f=b.__decorate([m.subclass("esri.webscene.Environment")],a)});