/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as e}from"tslib";import{destroyHandle as i}from"../../../core/handleUtils.js";import{subclass as t}from"../../../core/accessorSupport/decorators.js";import s from"./DrapedSubView3D.js";import{DynamicLayerView3D as r}from"./DynamicLayerView3D.js";import{SublayerPopupHighlightHelper3D as p}from"./support/SublayerPopupHighlightHelper3D.js";import a from"../../layers/MapImageLayerView.js";let o=class extends(a(r)){constructor(){super(...arguments),this.type="map-image-3d"}initialize(){this._updatingHandles.add(()=>this.exportImageVersion,()=>this._updatingHandles.addPromise(this.refreshDebounced())),this._popupHighlightHelper=new p({view:this.view,layerView:this,updatingHandles:this._updatingHandles}),this.addHandles(i(this._popupHighlightHelper))}fetchPopupFeaturesAtLocation(e,i){return this._popupHighlightHelper.fetchPopupFeaturesAtLocation(e,i)}highlight(e,i){return this._popupHighlightHelper.highlight(e,i)}getFetchOptions(){return{timeExtent:this.timeExtent,scale:this.view.scale}}_initSubView(){this.subView=new s({layerView:this})}};o=e([t("esri.views.3d.layers.MapImageLayerView3D")],o);const h=o;export{h as default};
