@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.69 kB
JavaScript
/*
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/Clonable.js";import r from"../../core/JSONSupport.js";import{property as e}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import"../../core/RandomLCG.js";import{enumeration as s}from"../../core/accessorSupport/decorators/enumeration.js";import{subclass as i}from"../../core/accessorSupport/decorators/subclass.js";import{writer as p}from"../../core/accessorSupport/decorators/writer.js";import{getJsonType as m,fromJSON as n}from"../../geometry/support/jsonUtils.js";import{geometryTypes as a}from"../../geometry/support/typeUtils.js";import{spatialRelKebabDict as l}from"./spatialRelationships.js";import c from"../../time/TimeExtent.js";let j=class extends(t.ClonableMixin(r)){constructor(){super(...arguments),this.geometry=null,this.objectIds=null,this.spatialRelationship="intersects",this.timeExtent=null,this.where=null}writeGeometry(o,t,r){null!=o&&(t.geometryType=m(o),t[r]=JSON.stringify(o.toJSON()))}};o([e({types:a,json:{read:n,write:!0}})],j.prototype,"geometry",void 0),o([p("geometry")],j.prototype,"writeGeometry",null),o([e({json:{write:!0}})],j.prototype,"objectIds",void 0),o([s(l,{ignoreUnknown:!1,name:"spatialRel"})],j.prototype,"spatialRelationship",void 0),o([e({type:c,json:{name:"time",write:!0}})],j.prototype,"timeExtent",void 0),o([e({type:String,json:{write:!0}})],j.prototype,"where",void 0),j=o([i("esri.rest.support.ImageGPSInfoParameters")],j);const y=j;export{y as default};