UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

6 lines (5 loc) 1.37 kB
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.32/esri/copyright.txt for details. */ import{_ as o}from"../../chunks/tslib.es6.js";import t from"../../core/JSONSupport.js";import{property as r}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import"../../core/RandomLCG.js";import{subclass as e}from"../../core/accessorSupport/decorators/subclass.js";import{writer as i}from"../../core/accessorSupport/decorators/writer.js";import s from"../../geometry/Point.js";let p=class extends t{constructor(){super(...arguments),this.id=null,this.name=null,this.acquisitionDate=null,this.cameraID=null,this.center=null,this.gps=null,this.orientation=null}writeAcquisitionDate(o,t){t.acquisitionDate=o?.getTime()}};o([r({json:{write:!0}})],p.prototype,"id",void 0),o([r({json:{write:!0}})],p.prototype,"name",void 0),o([r({type:Date,json:{write:!0}})],p.prototype,"acquisitionDate",void 0),o([i("acquisitionDate")],p.prototype,"writeAcquisitionDate",null),o([r({json:{write:!0}})],p.prototype,"cameraID",void 0),o([r({type:s,json:{write:!0}})],p.prototype,"center",void 0),o([r({json:{write:!0}})],p.prototype,"gps",void 0),o([r({json:{write:!0}})],p.prototype,"orientation",void 0),p=o([e("esri.rest.support.ImageGPSInfo")],p);const n=p;export{n as default};