UNPKG

@arcgis/core

Version:

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

6 lines (5 loc) 1.21 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 r}from"../../chunks/tslib.es6.js";import 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/has.js";import"../../core/RandomLCG.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};