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"); /> - +
+ +