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.
7 lines
1.8 KiB
7 lines
1.8 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("exports ../../chunks/tslib.es6 ../../core/Accessor ../../core/accessorSupport/decorators/property ../../core/has ../../core/Logger ../../core/RandomLCG ../../core/accessorSupport/decorators/subclass ./ElevationProfileInteraction ./support/constants ./support/ElevationProfileView".split(" "),function(a,b,f,d,l,m,n,g,c,e,h){a.ElevationProfileTool=class extends f{constructor(k){super(k);this.highlightEnabled=this.visible=this.editable=!0}initialize(){this.view=new h.ElevationProfileView({tool:this}); |
|
this.interaction=new c.ElevationProfileInteraction({tool:this})}destroy(){this.interaction.destroy();this.view.destroy()}get state(){switch(this.interaction?.state){case c.State.Ready:return e.ElevationProfileState.Ready;case c.State.Creating:return e.ElevationProfileState.Creating;case c.State.Selecting:return e.ElevationProfileState.Selecting;case c.State.Selected:return e.ElevationProfileState.Selected;case c.State.Reshaping:case c.State.ReshapingDisabled:return e.ElevationProfileState.Created}}}; |
|
b.__decorate([d.property({nonNullable:!0})],a.ElevationProfileTool.prototype,"viewModel",void 0);b.__decorate([d.property()],a.ElevationProfileTool.prototype,"view",void 0);b.__decorate([d.property()],a.ElevationProfileTool.prototype,"interaction",void 0);b.__decorate([d.property()],a.ElevationProfileTool.prototype,"editable",void 0);b.__decorate([d.property()],a.ElevationProfileTool.prototype,"visible",void 0);b.__decorate([d.property()],a.ElevationProfileTool.prototype,"highlightEnabled",void 0); |
|
a.ElevationProfileTool=b.__decorate([g.subclass("esri.widgets.ElevationProfile.ElevationProfileTool")],a.ElevationProfileTool);Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})}); |