From 832ee2e7968a4f39ec4b27c5eec0dde93031b8bc Mon Sep 17 00:00:00 2001 From: dm Date: Sun, 21 Dec 2025 13:00:32 +0100 Subject: [PATCH] =?UTF-8?q?Kontakt=20ukruty=20dymek,=20Lista=20miejscowo?= =?UTF-8?q?=C5=9Bci=20wyr=C3=B3wnywanie=20pod=20map=C4=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/maps/MapGoogle.astro | 28 ++++++++++++++-------------- src/pages/mapa-zasiegu/index.astro | 4 +++- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/src/components/maps/MapGoogle.astro b/src/components/maps/MapGoogle.astro index 2a54006..ed52a21 100644 --- a/src/components/maps/MapGoogle.astro +++ b/src/components/maps/MapGoogle.astro @@ -102,21 +102,21 @@ const domId = `fuz-map-${Math.random().toString(36).slice(2)}`; position: { lat, lng: lon } }); - if (title || desc) { - const { InfoWindow } = await google.maps.importLibrary("maps"); - const info = new InfoWindow({ - content: ` -
-
-
${title}
-
${desc}
-
-
- ` - }); + // if (title || desc) { + // const { InfoWindow } = await google.maps.importLibrary("maps"); + // const info = new InfoWindow({ + // content: ` + //
+ //
+ //
${title}
+ //
${desc}
+ //
+ //
+ // ` + // }); - info.open({ map, anchor: marker }); - } + // info.open({ map, anchor: marker }); + // } } } catch (error) { console.error("Error initializing map:", error); diff --git a/src/pages/mapa-zasiegu/index.astro b/src/pages/mapa-zasiegu/index.astro index 8228575..414900d 100644 --- a/src/pages/mapa-zasiegu/index.astro +++ b/src/pages/mapa-zasiegu/index.astro @@ -49,7 +49,9 @@ const seo = loadYaml("./src/content/mapa-zasiegu/seo.yaml"); /> - +
+ +