{#if !mapReady}
{/if}
{#if $coordinates}
{#if $isWatching}
{/if}
{/if} {#each locations as location (location.id)}
onLocationClick?.(location)} title={`${location.finds.length} find${location.finds.length !== 1 ? 's' : ''}`} >
{location.finds.length}
{#if location.finds.length > 0 && location.finds[0].media && location.finds[0].media.length > 0}
Preview
{/if}
{/each}
{#if userHasMovedMap && !isCenteredOnUser && $coordinates} {/if}