@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.37 kB
JavaScript
/*
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{property as o}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import"../../core/RandomLCG.js";import{subclass as t}from"../../core/accessorSupport/decorators/subclass.js";import r from"./VisualVariable.js";var i;let s=i=class extends r{constructor(e){super(e),this.axis=null,this.type="rotation",this.rotationType="geographic"}get cache(){return{hasExpression:!!this.valueExpression,compiledFunc:null}}clone(){return new i({axis:this.axis,rotationType:this.rotationType,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,legendOptions:this.legendOptions?.clone()})}};e([o({readOnly:!0})],s.prototype,"cache",null),e([o({type:["heading","tilt","roll"],json:{origins:{"web-scene":{default:"heading",write:!0}}}})],s.prototype,"axis",void 0),e([o({type:["rotation"],json:{type:["rotationInfo"]}})],s.prototype,"type",void 0),e([o({type:["geographic","arithmetic"],json:{write:!0,origins:{"web-document":{write:!0,default:"geographic"}}}})],s.prototype,"rotationType",void 0),s=i=e([t("esri.renderers.visualVariables.RotationVariable")],s);export{s as default};