@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
3 lines (2 loc) • 1.1 kB
JavaScript
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */
import{__decorate as t}from"tslib";import{property as e,subclass as o}from"../../core/accessorSupport/decorators.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 l=a;export{l as default};