{#await style then style} event.detail.setMaxZoom(18)} on:load={(event) => event.detail.on('click', handleMapClick)} bind: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))} >
{feature.properties?.point_count}
{ if (!$$slots.popup) { handleAssetClick(event.detail.feature.properties?.id, map); } }} > {#if useLocationPin} {:else} {feature.properties?.city {/if} {#if $$slots.popup} {/if}
{/await}