feat(karte): lokale Deutschland-Basemap statt OpenStreetMap-Kacheln (keine externen CDN)

- static/geo/deutschland-bundeslaender.geojson (BKG, vereinfacht, ~40KB)
- map.js: Tile-Layer entfernt, Bundeslaender-GeoJSON per same-origin fetch
  als Vektor-Hintergrund; Detail-Minikarte als Deutschland-Locator
- hugo.toml: OSM tileURL entfernt, Attribution nur noch als Text
- CSS: neutraler Kartenhintergrund statt Tile-Grau
- Ergebnis: 0 externe Requests (per Playwright-Netzwerk-Audit verifiziert)
This commit is contained in:
maik
2026-08-19 13:16:16 +02:00
parent 7d2949bf42
commit bfcb2ce6c0
6 changed files with 73 additions and 20 deletions
+3 -2
View File
@@ -22,8 +22,9 @@ removePathAccents = true # ä/ö/ü → a/o/u in URLs
email = "info@offener-prozess.de"
[params.map]
tileURL = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
attribution = '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>-Mitwirkende'
# Keine externen Kacheln/CDN Basemap ist die lokale Bundesländer-GeoJSON
# unter static/geo/. Attribution nur als Text (kein Request).
attribution = "Geodaten: © GeoBasis-DE / BKG (Bundesländergrenzen)"
# ============================================================================
# SPRACHEN