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:
@@ -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 = '© <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
|
||||
|
||||
Reference in New Issue
Block a user