{#if $lastAction?.key === "out"} {:else if $lastAction?.key === "in"} {:else if $lastAction !== undefined} {:else if $centerFeatures?.length === 0} {:else if $centerFeatures !== undefined}
{#each $centerFeatures.slice(0, 9) as feat, i (feat.properties.id)} {/each}
{/if}