H1: Map tab broken — map variable undefined, Leaflet never initializes #31
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: High
Switching to the Map tab throws
ReferenceError: map is not defined.Root cause:
let map = null;was never declared and no L.map init exists.Fix applied: Added global decl + Leaflet init in switchTab(tabMap).