UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

3 lines (2 loc) 939 B
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */ import{__decorate as r}from"tslib";import e from"../../core/Collection.js";import{property as t,subclass as i}from"../../core/accessorSupport/decorators.js";import o from"./LayerView.js";let a=class extends o{constructor(){super(...arguments),this.layerViews=new e}get dynamicGroupLayerView(){return this.layerViews.find(r=>r.layer===this.layer?.dynamicGroupLayer)}get footprintLayerView(){return this.layerViews.find(r=>r.layer===this.layer?.footprintLayer)}isUpdating(){return!this.dynamicGroupLayerView||!this.footprintLayerView||this.dynamicGroupLayerView.updating||this.footprintLayerView.updating}};r([t()],a.prototype,"layer",void 0),r([t()],a.prototype,"layerViews",void 0),r([t({readOnly:!0})],a.prototype,"dynamicGroupLayerView",null),r([t({readOnly:!0})],a.prototype,"footprintLayerView",null),a=r([i("esri.views.layers.CatalogLayerView")],a);export{a as default};