component Map { outputs { // markerClick and select both fire for a marker press; select is the // generic name callers reach for, markerClick the explicit one. markerClick(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) select(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) zoom(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) } props { size: string = "default" color: string = "primary" title: string = "Map" description: string = "" items: unknown[] = [] variant: string = "default" class: string = "" } view {
{#if title || description}
{#if title}

{title}

{/if} {#if description}

{description}

{/if}
{/if}
{#if items.length > 0} {#each items as item, index} {/each} {/if}
} }