UNPKG

@arcgis/core

Version:

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

6 lines (5 loc) 1.6 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 o}from"../../chunks/tslib.es6.js";import t from"../../core/Clonable.js";import e from"../../core/JSONSupport.js";import{property as r}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import"../../core/RandomLCG.js";import{enumeration as s}from"../../core/accessorSupport/decorators/enumeration.js";import{subclass as p}from"../../core/accessorSupport/decorators/subclass.js";import{fromJSON as i}from"../../geometry/support/jsonUtils.js";import{geometryTypes as a}from"../../geometry/support/typeUtils.js";import{geometryTypeJsonMap as m,spatialRelationshipJsonMap as n}from"./networkEnums.js";let l=class extends(t.ClonableMixin(e)){constructor(o){super(o),this.doNotLocateOnRestrictedElements=null,this.geometry=null,this.geometryType=null,this.name=null,this.spatialRelationship=null,this.type="layer",this.where=null}};o([r({type:Boolean,json:{write:!0}})],l.prototype,"doNotLocateOnRestrictedElements",void 0),o([r({types:a,json:{read:i,write:!0}})],l.prototype,"geometry",void 0),o([s(m)],l.prototype,"geometryType",void 0),o([r({type:String,json:{name:"layerName",write:!0}})],l.prototype,"name",void 0),o([s(n,{name:"spatialRel"})],l.prototype,"spatialRelationship",void 0),o([r({type:String,json:{write:!0}})],l.prototype,"type",void 0),o([r({type:String,json:{write:!0}})],l.prototype,"where",void 0),l=o([p("esri.rest.support.DataLayer")],l);export{l as default};