@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.5 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
*/
import{_ as r}from"../../chunks/tslib.es6.js";import s 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{subclass as t}from"../../core/accessorSupport/decorators/subclass.js";var o;let i=o=class extends s{constructor(r){super(r),this.id=null,this.title=null,this.description=null,this.legendUrl=null}clone(){const r=new o;return this.hasOwnProperty("description")&&(r.description=this.description),this.hasOwnProperty("id")&&(r.id=this.id),this.hasOwnProperty("isDefault")&&(r.isDefault=this.isDefault),this.hasOwnProperty("keywords")&&(r.keywords=this.keywords&&this.keywords.slice()),this.hasOwnProperty("legendUrl")&&(r.legendUrl=this.legendUrl),this.hasOwnProperty("title")&&(r.title=this.title),r}};r([e({json:{read:{source:"id"}}})],i.prototype,"id",void 0),r([e({json:{read:{source:"title"}}})],i.prototype,"title",void 0),r([e({json:{read:{source:"abstract"}}})],i.prototype,"description",void 0),r([e({json:{read:{source:"legendUrl"}}})],i.prototype,"legendUrl",void 0),r([e({json:{read:{source:"isDefault"}}})],i.prototype,"isDefault",void 0),r([e({json:{read:{source:"keywords"}}})],i.prototype,"keywords",void 0),i=o=r([t("esri.layers.support.WMTSStyle")],i);const p=i;export{p as default};