UNPKG

@arcgis/core

Version:

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

6 lines (5 loc) 1.36 kB
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.33/esri/copyright.txt for details. */ import{_ as t}from"../../chunks/tslib.es6.js";import{property as e}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import"../../core/RandomLCG.js";import{subclass as o}from"../../core/accessorSupport/decorators/subclass.js";import s from"../../geometry/Extent.js";import r from"../../geometry/Point.js";import i from"./PlacesParameters.js";var p;let a=p=class extends i{constructor(t){super(t),this.categoryIds=null,this.extent=null,this.offset=0,this.pageSize=10,this.point=null,this.radius=1e3,this.searchText=null}clone(){return new p({apiKey:this.apiKey,url:this.url,categoryIds:this.categoryIds?.slice()??null,extent:this.extent?.clone()??null,offset:this.offset,pageSize:this.pageSize,point:this.point?.clone()??null,radius:this.radius,searchText:this.searchText})}};t([e()],a.prototype,"categoryIds",void 0),t([e({type:s})],a.prototype,"extent",void 0),t([e()],a.prototype,"offset",void 0),t([e()],a.prototype,"pageSize",void 0),t([e({type:r})],a.prototype,"point",void 0),t([e()],a.prototype,"radius",void 0),t([e()],a.prototype,"searchText",void 0),a=p=t([o("esri.rest.support.PlacesQueryParameters")],a);const c=a;export{c as default};