UNPKG

@arcgis/core

Version:

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

6 lines (5 loc) 1.09 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 e}from"../../chunks/tslib.es6.js";import r from"../../core/Clonable.js";import o from"../../core/JSONSupport.js";import{areaUnitsJSONMap as s,lengthUnitsJSONMap as t}from"../../core/unitUtils.js";import{property as p}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import"../../core/RandomLCG.js";import{subclass as i}from"../../core/accessorSupport/decorators/subclass.js";let a=class extends(r.ClonableMixin(o)){constructor(e){super(e),this.shapeAreaField=null,this.shapeLengthField=null,this.units=null}};e([p({type:String,json:{read:{source:"shapeAreaFieldName"}}})],a.prototype,"shapeAreaField",void 0),e([p({type:String,json:{read:{source:"shapeLengthFieldName"}}})],a.prototype,"shapeLengthField",void 0),e([p({type:String,json:{read:e=>s.read(e)||t.read(e)}})],a.prototype,"units",void 0),a=e([i("esri.layers.support.GeometryFieldsInfo")],a);export{a as default};