{#if filteredLayer.layerDef.name}
{#each filteredLayer.layerDef.filters as filter}
{#if filter.options.length === 1 && filter.options[0].fields.length === 0} {/if} {#if filter.options.length > 1} {#each filter.options as option, i} {/each} {/if}
{/each}
{/if}