{state.map?.data?.getCanvas()?.focus()}}
perLayer={state.perLayer}
selectedElement={state.selectedElement}
/>
state.guistate.themeIsOpened.setData(true)}
on:keydown={forwardEventToMap}>
state.guistate.menuIsOpened.setData(true)}
on:keydown={forwardEventToMap}
>
{#if currentViewLayer?.tagRenderings && currentViewLayer.defaultIcon()}
{
selectedElement.setData(state.currentView.features?.data?.[0])
}}
on:keydown={forwardEventToMap}
>
currentViewLayer.defaultIcon().SetClass("w-8 h-8 cursor-pointer")}
/>
{/if}
new ExtraLinkButton(state, layout.extraLink).SetClass("pointer-events-auto")}
/>
Testmode