{#each annotations as annotation (annotation.id)} onDeleteRequest?.(annotation.id)} onclick={() => onAnnotationClick?.(annotation.id)} onpointerenter={() => (hoveredId = annotation.id)} onpointerleave={() => (hoveredId = null)} /> {/each} {#if drawRect && drawRect.width > 0}
{/if}