/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as i}from"tslib";import{subclass as e}from"../../../core/accessorSupport/decorators.js";import{BitmapTileContainer as t}from"../engine/BitmapTileContainer.js";const r=r=>{const s=r;let a=class extends s{attach(){this.view.timeline.record(`${this.layer.title} (BitmapTileLayer) Attach`),this._bitmapView=new t(this._tileInfoView),this.container.addChild(this._bitmapView)}detach(){this.container.removeChild(this._bitmapView),this._bitmapView?.removeAllChildren(),this._bitmapView=null}};return a=i([e("esri.views.2d.layers.BitmapTileLayerView2D")],a),a};export{r as BitmapTileLayerView2D};
