diff --git a/index.html b/index.html
index 84d7138..be03af9 100644
--- a/index.html
+++ b/index.html
@@ -2890,8 +2890,13 @@
updateOwnerLayer();
// Zoom to owner data if available
- if (layers.owners && layers.owners.getBounds().isValid()) {
- map.fitBounds(layers.owners.getBounds(), { padding: [20, 20] });
+ if (state.owners && state.owners.features.length > 0) {
+ try {
+ const bounds = L.geoJSON(state.owners).getBounds();
+ if (bounds.isValid()) {
+ map.fitBounds(bounds, { padding: [20, 20] });
+ }
+ } catch(e) {}
}
}
} catch (e) { console.error("[V3-Sync] Owners Error:", e); }