UNPKG

@arcgis/core

Version:

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

6 lines (5 loc) 1.4 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 r from"../Color.js";import t 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{enumeration as i}from"../core/accessorSupport/decorators/enumeration.js";import{subclass as s}from"../core/accessorSupport/decorators/subclass.js";import p from"../geometry/Point.js";let a=class extends t{constructor(o){super(o),this.center=new p,this.dynamicScaling=!0,this.majorLineColor=r.fromArray([115,115,115,1]),this.majorLineInterval=10,this.minorLineColor=r.fromArray([165,165,165,1]),this.rotateWithMap=!1,this.rotation=0,this.spacing=1,this.type="measured",this.units="miles"}};o([e()],a.prototype,"center",void 0),o([e()],a.prototype,"dynamicScaling",void 0),o([e()],a.prototype,"majorLineColor",void 0),o([e()],a.prototype,"majorLineInterval",void 0),o([e()],a.prototype,"minorLineColor",void 0),o([e()],a.prototype,"rotateWithMap",void 0),o([e()],a.prototype,"rotation",void 0),o([e()],a.prototype,"spacing",void 0),o([i({measured:"measured"})],a.prototype,"type",void 0),o([e()],a.prototype,"units",void 0),a=o([s("esri.grids.MeasuredGrid")],a);export{a as MeasuredGrid};