InitialViewProperties.js 1.3 KB

123456
  1. // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  2. // See https://js.arcgis.com/4.7/esri/copyright.txt for details.
  3. //>>built
  4. define("require exports ../core/tsSupport/declareExtendsHelper ../core/tsSupport/decorateHelper ../Viewpoint ../core/Accessor ../core/accessorSupport/decorators ../geometry/SpatialReference ./Environment".split(" "),function(m,n,g,c,h,k,b,l,e){return function(f){function a(a){a=f.call(this,a)||this;a.environment=new e;a.spatialReference=null;a.viewpoint=null;return a}g(a,f);d=a;Object.defineProperty(a.prototype,"viewingMode",{set:function(a){"local"!==a&&"global"!==a||this._set("viewingMode",a)},
  5. enumerable:!0,configurable:!0});a.prototype.clone=function(){return new d({environment:this.environment.clone(),spatialReference:this.spatialReference?this.spatialReference.clone():null,viewingMode:this.viewingMode,viewpoint:this.viewpoint?this.viewpoint.clone():null})};c([b.property({type:e,json:{write:{isRequired:!0}}})],a.prototype,"environment",void 0);c([b.property({type:l})],a.prototype,"spatialReference",void 0);c([b.property()],a.prototype,"viewingMode",null);c([b.property({type:h,json:{write:{isRequired:!0}}})],
  6. a.prototype,"viewpoint",void 0);return a=d=c([b.subclass("esri.webscene.InitialViewProperties")],a);var d}(b.declared(k))});