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
Deploy Standortplaner / deploy (push) Successful in 17s
Details
This commit is contained in:
parent
ed821296f3
commit
6f3001dff8
4
app.js
4
app.js
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue