UNPKG

@arcgis/core

Version:

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

3 lines (2 loc) 1.18 kB
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */ import{__decorate as o}from"tslib";import r from"../Color.js";import{JSONSupport as t}from"../core/JSONSupport.js";import{property as e,subclass as i}from"../core/accessorSupport/decorators.js";import p from"../geometry/Point.js";import{enumeration as s}from"../core/accessorSupport/decorators/enumeration.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([s({measured:"measured"})],a.prototype,"type",void 0),o([e()],a.prototype,"units",void 0),a=o([i("esri.grids.MeasuredGrid")],a);export{a as MeasuredGrid};