@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
3 lines (2 loc) • 1.25 kB
JavaScript
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */
import{__decorate as t}from"tslib";import{JSONSupport as e}from"../../core/JSONSupport.js";import{property as o,subclass as r}from"../../core/accessorSupport/decorators.js";import i from"../../geometry/Point.js";import{CameraInfoMixin as s}from"./CameraInfoMixin.js";import{writer as n}from"../../core/accessorSupport/decorators/writer.js";let p=class extends(s(e)){constructor(t){super(t),this.id=null,this.referenceUri=null,this.acquisitionDate=null,this.cameraID=null,this.center=null,this.perspectiveCenter=null,this.orientation=null}writeAcquisitionDate(t,e){e.acquisitionDate=t?.getTime()}};t([o({json:{write:!0}})],p.prototype,"id",void 0),t([o({json:{name:"uri",write:!0}})],p.prototype,"referenceUri",void 0),t([o({type:Date,json:{write:!0}})],p.prototype,"acquisitionDate",void 0),t([n("acquisitionDate")],p.prototype,"writeAcquisitionDate",null),t([o({json:{write:!0}})],p.prototype,"cameraID",void 0),t([o({type:i,json:{write:!0}})],p.prototype,"center",void 0),t([o({type:i,json:{write:!0}})],p.prototype,"perspectiveCenter",void 0),t([o({json:{write:!0}})],p.prototype,"orientation",void 0),p=t([r("esri.rest.support.ImageInspectionInfo")],p);const a=p;export{a as default};