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