Custom Gis Application with Arcgis Javascript API with modern layouting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

6 lines
1.4 KiB

// All material copyright Esri, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.30/esri/copyright.txt for details.
//>>built
define("../../chunks/tslib.es6 ../../core/Accessor ../../core/unitUtils ../../core/accessorSupport/decorators/property ../../core/has ../../core/Logger ../../core/RandomLCG ../../core/accessorSupport/decorators/subclass ../../properties/defaultUnit".split(" "),function(b,a,e,d,h,k,l,f,g){a=class extends a{constructor(c){super(c);this.view=this.activeViewModel=this.activeTool=null}get areaUnit(){return this.defaultUnit}set areaUnit(c){this._overrideIfSome("areaUnit",c)}get linearUnit(){return this.defaultUnit}set linearUnit(c){this._overrideIfSome("linearUnit",
c)}get state(){const {activeViewModel:c}=this;return c?c.state:"disabled"}};b.__decorate([d.property({type:["area","distance","direct-line"]})],a.prototype,"activeTool",void 0);b.__decorate([d.property()],a.prototype,"activeViewModel",void 0);b.__decorate([d.property({type:e.measurementAreaUnits})],a.prototype,"areaUnit",null);b.__decorate([d.property(g.defaultUnitPropertyMetadata)],a.prototype,"defaultUnit",void 0);b.__decorate([d.property({type:e.measurementLengthUnits})],a.prototype,"linearUnit",
null);b.__decorate([d.property({readOnly:!0})],a.prototype,"state",null);b.__decorate([d.property()],a.prototype,"view",void 0);return a=b.__decorate([f.subclass("esri.widgets.Measurement.MeasurementViewModel")],a)});