feat: OrganisationsMapBlock — Karte der Bürgerinitiativen
Neuer Block-Typ `organisations_map`: Leaflet-Karte mit CircleMarkern für alle Organisationen die ein location.lat/lng haben. Klick auf Marker öffnet Detail-Panel (Desktop: rechte Sidebar / Mobile: Bottom Sheet) mit Name, Standort, Beschreibung und Website-Link. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
import DeadlineBannerBlock from "./blocks/DeadlineBannerBlock.svelte";
|
||||
import WindkarteBlock from "./blocks/WindkarteBlock.svelte";
|
||||
import AdressbuchBlock from "./blocks/AdressbuchBlock.svelte";
|
||||
import OrganisationsMapBlock from "./blocks/OrganisationsMapBlock.svelte";
|
||||
import type { Translations } from "$lib/translations";
|
||||
import type {
|
||||
ResolvedBlock,
|
||||
@@ -49,6 +50,7 @@
|
||||
LiveStrommixBlockData,
|
||||
WindMapBlockData,
|
||||
StellingnahmeGeneratorBlockData,
|
||||
OrganisationsMapBlockData,
|
||||
} from "$lib/block-types";
|
||||
|
||||
let {
|
||||
@@ -113,6 +115,8 @@
|
||||
<WindkarteBlock block={block as WindMapBlockData} />
|
||||
{:else if type === "adressbuch"}
|
||||
<AdressbuchBlock block={block as AdressbuchBlockData} />
|
||||
{:else if type === "organisations_map"}
|
||||
<OrganisationsMapBlock block={block as OrganisationsMapBlockData} />
|
||||
{:else if type === "stellungnahme_generator"}
|
||||
{#await import("./blocks/StellingnahmeGeneratorBlock.svelte") then m}
|
||||
{@const Comp = m.default}
|
||||
|
||||
Reference in New Issue
Block a user