UNPKG

@arcgis/core

Version:

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

3 lines (2 loc) 1.36 kB
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */ import{__decorate as t}from"tslib";import{ClonableMixin as e}from"../../core/Clonable.js";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as r,subclass as p}from"../../core/accessorSupport/decorators.js";import{fromJSON as s}from"../../geometry/support/jsonUtils.js";import{geometryTypes as i}from"../../geometry/support/typeUtils.js";import{geometryTypeJsonMap as n,spatialRelationshipJsonMap as a}from"./networkEnums.js";import{enumeration as l}from"../../core/accessorSupport/decorators/enumeration.js";let m=class extends(e(o)){constructor(t){super(t),this.doNotLocateOnRestrictedElements=null,this.geometry=null,this.geometryType=null,this.name=null,this.spatialRelationship=null,this.type="layer",this.where=null}};t([r({type:Boolean,json:{write:!0}})],m.prototype,"doNotLocateOnRestrictedElements",void 0),t([r({types:i,json:{read:s,write:!0}})],m.prototype,"geometry",void 0),t([l(n)],m.prototype,"geometryType",void 0),t([r({type:String,json:{name:"layerName",write:!0}})],m.prototype,"name",void 0),t([l(a,{name:"spatialRel"})],m.prototype,"spatialRelationship",void 0),t([r({type:String,json:{write:!0}})],m.prototype,"type",void 0),t([r({type:String,json:{write:!0}})],m.prototype,"where",void 0),m=t([p("esri.rest.support.DataLayer")],m);export{m as default};