UNPKG

@doegis/core

Version:

DOE GIS API

3 lines (1 loc) 998 B
import{_ as e}from"../../../chunks/tslib.es6.js";import"../../../core/Logger.js";import"../../../core/accessorSupport/ensureType.js";import"../../../core/arrayUtils.js";import"../../../core/Error.js";import"../../../core/has.js";import{subclass as r}from"../../../core/accessorSupport/decorators/subclass.js";import{GroupContainer as t}from"../engine/webgl/GroupContainer.js";import{LayerView2DMixin as s}from"./LayerView2D.js";import o from"../../layers/GroupLayerView.js";let a=class extends(s(o)){constructor(){super(...arguments),this.container=new t}attach(){this._updateStageChildren(),this.addAttachHandles(this.layerViews.on("after-changes",(()=>this._updateStageChildren())))}detach(){this.container.removeAllChildren()}update(e){}moveStart(){}viewChange(){}moveEnd(){}_updateStageChildren(){this.container.removeAllChildren(),this.layerViews.forEach(((e,r)=>this.container.addChildAt(e.container,r)))}};a=e([r("esri.views.2d.layers.GroupLayerView2D")],a);const i=a;export{i as default};