style: send ALKIS/owner status layers to the back (bringToBack) so they do not cover turbines, KSF, or other overlays
Deploy Standortplaner / deploy (push) Successful in 17s Details

This commit is contained in:
Johannes Baumeister 2026-06-25 09:48:04 +02:00
parent ed821296f3
commit 6f3001dff8
1 changed files with 2 additions and 2 deletions

4
app.js
View File

@ -1537,7 +1537,7 @@ document.addEventListener('DOMContentLoaded', async () => {
}
layerControl.addOverlay(layer, layerName);
layer.bringToFront(); // Ensure it's on top of local shapefiles
layer.bringToBack(); // Ensure it is behind other map overlays like turbines
// ---- Erzeuge zusätzlich den Umriss-Layer ----
const outlineLayerName = "Flurstücke & Eigentümer (Umriss)";
@ -1593,7 +1593,7 @@ document.addEventListener('DOMContentLoaded', async () => {
}
layerControl.addOverlay(outlineLayer, outlineLayerName);
if (state.map.hasLayer(outlineLayer)) {
outlineLayer.bringToFront();
outlineLayer.bringToBack();
}
}