{#if layerIds.length > 0}
{#each Array.from(layerIds) as layer} {/each}
{/if}