/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as e}from"tslib";import r from"../../../core/Error.js";import{property as i,subclass as t}from"../../../core/accessorSupport/decorators.js";import a from"./FeatureLayerViewBase3D.js";import{OGCFeatureLayerViewMixin as s}from"../../layers/OGCFeatureLayerView.js";let o=class extends(s(a)){constructor(){super(...arguments),this.type="ogc-feature-3d"}get graphicOrigin(){return this.layer.graphicOrigin}initialize(){this.layer.serviceSupportsSpatialReference(this.view.spatialReference)||this.addResolvingPromise(Promise.reject(new r("layerview:spatial-reference-incompatible","The spatial references supported by this OGC layer are incompatible with the spatial reference of the view",{layer:this.layer})))}};e([i()],o.prototype,"layer",void 0),e([i()],o.prototype,"graphicOrigin",null),o=e([t("esri.views.3d.layers.OGCFeatureLayerView3D")],o);const p=o;export{p as default};
