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.9 KiB
7 lines
1.9 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/Error ../../../core/reactiveUtils ../../../core/accessorSupport/decorators/property ../../../core/has ../../../core/Logger ../../../core/RandomLCG ../../../core/accessorSupport/decorators/subclass ../../../geometry/projection ../../../layers/support/layerUtils ../../../support/featureFlags ./FeatureLayerViewBase3D".split(" "),function(c,d,g,e,b,q,r,h,k,l,m,n){b=class extends n{constructor(){super(...arguments);this.type="feature-3d";this.direct3DObjectFeatureLayerDisplayEnabled= |
|
m.direct3DObjectFeatureLayerDisplayEnabled()}initialize(){const {layer:a,view:p}=this;l.getEffectiveLayerCapabilities(a)?.operations.supportsQuery||this.addResolvingPromise(Promise.reject(new d("featurelayerview:query-not-supported","layer view requires a layer with query capability",{layer:a})));null!=a.infoFor3D&&(this.direct3DObjectFeatureLayerDisplayEnabled?this.addResolvingPromise((async()=>{const f=await g.whenOnce(()=>this.graphicsPipeline);this.destroyed||f.destroyed||(f.suspendResumeExtentMode= |
|
"computed")})()):this.addResolvingPromise(Promise.reject(new d("featurelayerview3d:unsupported-geometry-type",`Unsupported geometry type ${a.geometryType}`))));"mesh"!==a.geometryType||k.canProjectWithoutEngine(a.spatialReference,p.spatialReference)||this.addResolvingPromise(Promise.reject(new d("layerview:spatial-reference-incompatible","The spatial references of the feature layer is incompatible with the spatial reference of the view")))}get featureSpatialReference(){return this.view.featureTiles?.tilingScheme?.spatialReference}}; |
|
c.__decorate([e.property({constructOnly:!0})],b.prototype,"direct3DObjectFeatureLayerDisplayEnabled",void 0);c.__decorate([e.property()],b.prototype,"layer",void 0);return b=c.__decorate([h.subclass("esri.views.3d.layers.FeatureLayerView3D")],b)}); |