UNPKG

@doegis/core

Version:

DOE GIS API

3 lines (1 loc) 949 B
import{_ as e}from"../../../chunks/tslib.es6.js";import r from"../../../core/Error.js";import{property as s}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/accessorSupport/ensureType.js";import"../../../core/arrayUtils.js";import{subclass as t}from"../../../core/accessorSupport/decorators/subclass.js";import o from"./FeatureLayerViewBase3D.js";import a from"../../layers/OGCFeatureLayerView.js";let i=class extends(a(o)){constructor(){super(...arguments),this.type="ogc-feature-3d"}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([s()],i.prototype,"layer",void 0),i=e([t("esri.views.3d.layers.OGCFeatureLayerView3D")],i);const p=i;export{p as default};