{#await style then style} event.detail.setMaxZoom(18)} on:load={(event) => event.detail.on('click', handleMapClick)} bind:map > {#snippet children({ map }: { map: maplibregl.Map })} {#if !simplified} {/if} {#if showSettingsModal !== undefined} (showSettingsModal = true)}> {/if} {#if onOpenInMapView} onOpenInMapView()}> {/if} asFeature(marker)), }} id="geojson" cluster={{ radius: 500, maxZoom: 24 }} > handlePromiseError(handleClusterClick(event.detail.feature.properties?.cluster_id, map))} > {#snippet children({ feature }: { feature: maplibregl.Feature })}
{feature.properties?.point_count}
{/snippet}
{ if (!popup) { handleAssetClick(event.detail.feature.properties?.id, map); } }} > {#snippet children({ feature }: { feature: Feature })} {#if useLocationPin} {:else} {feature.properties?.city {/if} {#if popup} {@render popup?.({ marker: asMarker(feature) })} {/if} {/snippet}
{/snippet}
{/await}