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.6 KiB
6 lines
1.6 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 ../../Color ../../core/handleUtils ../../core/reactiveUtils ../../core/accessorSupport/decorators/property ../../core/has ../../core/Logger ../../core/RandomLCG ../../core/accessorSupport/decorators/subclass ./ElevationProfileLine ./support/elevationQuerySourceUtils".split(" "),function(c,f,h,g,d,b,n,p,k,l,m){b=class extends l{constructor(a){super(a);this.type="query";this.color=new f("#db334a");this.viewVisualizationEnabled=!0;this.source=null;this.numSamplesForPreview= |
|
50;this.numSamplesPerChunk=500}get minDemResolution(){return m.getQuerySourceMinDemResolution(this.source)}get available(){const a=this.source;return!!a&&(null==a.visible||a.visible)&&(null==a.layers||a.layers.some(e=>e.visible))}queryElevation(a,e){if(!this.source)throw Error("No source configured for the elevation profile line");return this.source.queryElevation(a,e)}attach(a){return h.handlesGroup([super.attach(a),g.watch(()=>this.source,()=>this._onChange(),g.sync)])}};c.__decorate([d.property({type:f, |
|
nonNullable:!0})],b.prototype,"color",void 0);c.__decorate([d.property()],b.prototype,"viewVisualizationEnabled",void 0);c.__decorate([d.property()],b.prototype,"source",void 0);c.__decorate([d.property({readOnly:!0})],b.prototype,"minDemResolution",null);c.__decorate([d.property()],b.prototype,"available",null);return b=c.__decorate([k.subclass("esri.widgets.ElevationProfile.ElevationProfileLineQuery")],b)}); |