UNPKG

@doegis/core

Version:

DOE GIS API

3 lines (1 loc) 1.08 kB
import{_ as r}from"../../chunks/tslib.es6.js";import"../../geometry.js";import{JSONSupport as e}from"../../core/JSONSupport.js";import{property as o}from"../../core/accessorSupport/decorators/property.js";import{Integer as t}from"../../core/accessorSupport/ensureType.js";import"../../core/arrayUtils.js";import{subclass as s}from"../../core/accessorSupport/decorators/subclass.js";import{writer as p}from"../../core/accessorSupport/decorators/writer.js";import i from"../../geometry/Point.js";var m;let c=m=class extends e{constructor(){super(...arguments),this.geometries=null,this.rasterId=null}writeGeometry(r,e,o){e.geometries={geometryType:"esriGeometryPoint",geometries:r.map((r=>r.toJSON()))}}clone(){return new m({geometries:this.geometries?.map((r=>r.clone()))??[],rasterId:this.rasterId})}};r([o({type:[i],json:{write:!0}})],c.prototype,"geometries",void 0),r([p("geometries")],c.prototype,"writeGeometry",null),r([o({type:t,json:{write:!0}})],c.prototype,"rasterId",void 0),c=m=r([s("esri.rest.support.ImagePixelLocationParameters")],c);const a=c;export{a as default};