diff --git a/script.js b/script.js index f23a30a..1576eb4 100644 --- a/script.js +++ b/script.js @@ -110,23 +110,22 @@ function initializeMap() { }).addTo(map); // Custom icon - const axaIcon = L.divIcon({ - className: 'custom-marker', - html: '
📍
', - iconSize: [40, 40], - iconAnchor: [20, 40] + const axaIcon = L.icon({ + iconUrl: 'img/AXA_Logo_FR.svg', + iconSize: [30, 30], + iconAnchor: [15, 30] }); // Add marker const marker = L.marker([lat, lng], { icon: axaIcon }).addTo(map); // Add popup - marker.bindPopup(` -
- Andreas Guttenberger
- Versicherungsfachmann (IHK)
- Am Fallgatter 6
- 93183 Kallmünz / Traidendorf -
- `).openPopup(); + // marker.bindPopup(` + //
+ // Andreas Guttenberger
+ // Versicherungsfachmann (IHK)
+ // Am Fallgatter 6
+ // 93183 Kallmünz / Traidendorf + //
+ // `).openPopup(); } \ No newline at end of file diff --git a/style.css b/style.css index 3900cbe..b08823d 100644 --- a/style.css +++ b/style.css @@ -440,9 +440,12 @@ body { /* Map */ .map-container { margin-top: 60px; - border-radius: 15px; + border-radius: 0; overflow: hidden; box-shadow: var(--shadow-lg); + width: 100vw; + margin-left: calc(-50vw + 50%); + margin-right: calc(-50vw + 50%); } #map {