Keep Contacts, active layer intents and mapped sites across globe switches

This commit is contained in:
German Khokhlov committed 2026-11-03 03:05:47 +04:00
1 parent 81bcae907f
commit 87bbe14748
35 files changed
+465 -118

No files matched your search

@@ -353,8 +353,9 @@ export function createRendering({
)
.map((record) => ({ lat: record.latitude, lon: record.longitude }));
if (!cold.length) return;
const owner = layerState.dataSource;
warmFireAnchorFloors(cold).then(() => {
if (!layerState.enabled || !layerState.dataSource) return;
if (!layerState.enabled || !owner || layerState.dataSource !== owner) return;
if (
!cold.some((point) => cachedGroundFloor(point.lat, point.lon) != null)
)