diff --git a/app.js b/app.js index dbf94c4..c85f8dd 100644 --- a/app.js +++ b/app.js @@ -1455,7 +1455,9 @@ document.addEventListener('DOMContentLoaded', async () => { function cleanupLocalOwnerLayers() { const localOwnerKeys = Object.keys(overlays).filter(k => - k.toLowerCase().includes('eigentümer') && k !== 'Eigentümer (ALKIS DB)' + k.toLowerCase().includes('eigentümer') && + k !== 'Eigentümer (ALKIS DB)' && + !k.toLowerCase().includes('umriss') ); localOwnerKeys.forEach(key => { console.log(`Entferne lokalen Layer "${key}" (wird durch ALKIS DB ersetzt).`);