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 ./Camera ./geometry ./core/JSONSupport ./core/accessorSupport/decorators/property ./core/accessorSupport/decorators/cast ./core/RandomLCG ./core/has ./core/accessorSupport/decorators/subclass ./geometry/support/jsonUtils".split(" "),function(b,h,k,a,d,l,n,p,m,g){function e(){return{enabled:!this.camera}}var f;a=f=class extends a.JSONSupport{constructor(c){super(c);this.scale=this.rotation=0;this.camera=this.targetGeometry=null}castRotation(c){c%=360;0>c&&(c+=360);return c}clone(){return new f({rotation:this.rotation, |
|
scale:this.scale,targetGeometry:null!=this.targetGeometry?this.targetGeometry.clone():null,camera:null!=this.camera?this.camera.clone():null})}};b.__decorate([d.property({type:Number,json:{write:!0,origins:{"web-map":{default:0,write:!0},"web-scene":{write:{overridePolicy:e}}}}})],a.prototype,"rotation",void 0);b.__decorate([l.cast("rotation")],a.prototype,"castRotation",null);b.__decorate([d.property({type:Number,json:{write:!0,origins:{"web-map":{default:0,write:!0},"web-scene":{write:{overridePolicy:e}}}}})], |
|
a.prototype,"scale",void 0);b.__decorate([d.property({types:k.geometryTypes,json:{read:g.fromJSON,write:!0,origins:{"web-scene":{read:g.fromJSON,write:{overridePolicy:e}}}}})],a.prototype,"targetGeometry",void 0);b.__decorate([d.property({type:h,json:{write:!0}})],a.prototype,"camera",void 0);return a=f=b.__decorate([m.subclass("esri.Viewpoint")],a)}); |