mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-08-06 23:40:23 +00:00
fix: declare geoFilterLayer in map.js strict mode scope
In strict mode, assigning to an undeclared variable throws a ReferenceError which was silently caught, hiding the overlay entirely. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
KpaBap
co-authored by
Claude Sonnet 4.6
parent
d02a0eb035
commit
b40f5fbb75
@@ -12,6 +12,7 @@
|
||||
let filters = { repeater: true, companion: true, room: true, sensor: true, observer: true, lastHeard: '30d', neighbors: false, clusters: false, hashLabels: localStorage.getItem('meshcore-map-hash-labels') !== 'false', statusFilter: localStorage.getItem('meshcore-map-status-filter') || 'all' };
|
||||
let wsHandler = null;
|
||||
let heatLayer = null;
|
||||
let geoFilterLayer = null;
|
||||
let userHasMoved = false;
|
||||
let controlsCollapsed = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user