diff --git a/index.html b/index.html
index 82f7986..2f3001c 100644
--- a/index.html
+++ b/index.html
@@ -1892,6 +1892,7 @@
if (layer.enableEdit) {
if (v.active) {
layer.enableEdit();
+ if (layer.editor) layer.editor.refresh();
} else {
layer.disableEdit();
}
@@ -3030,7 +3031,11 @@
console.log("[V3-Sync] Daten-Ladevorgang abgeschlossen.");
if (indicator) indicator.classList.remove('active');
isLoading = false;
+
+ // Final calculation and map refresh now that all data (including usage/obstacles) is ready
+ state.variants.forEach(v => { calculateStats(v); });
renderVariants();
+ updateRouteLayers();
}
let isSaving = false;