mirror of
https://github.com/smittix/intercept.git
synced 2026-06-01 02:33:37 -07:00
fix(aprs): correct aprsMarkers variable name and reset aprsMapOverlays on teardown
This commit is contained in:
@@ -10179,7 +10179,7 @@
|
|||||||
aprsMapOverlays = MapUtils.addTacticalOverlays(aprsMap, {
|
aprsMapOverlays = MapUtils.addTacticalOverlays(aprsMap, {
|
||||||
hudPanels: {
|
hudPanels: {
|
||||||
modeName: 'APRS',
|
modeName: 'APRS',
|
||||||
getContactCount: () => Object.keys(aprsStations).length,
|
getContactCount: () => Object.keys(aprsMarkers).length,
|
||||||
},
|
},
|
||||||
scaleBar: true,
|
scaleBar: true,
|
||||||
});
|
});
|
||||||
@@ -10225,6 +10225,7 @@
|
|||||||
} catch (_) {}
|
} catch (_) {}
|
||||||
aprsMap = null;
|
aprsMap = null;
|
||||||
window.aprsMap = null;
|
window.aprsMap = null;
|
||||||
|
aprsMapOverlays = null;
|
||||||
}
|
}
|
||||||
aprsMarkers = {};
|
aprsMarkers = {};
|
||||||
aprsUserMarker = null;
|
aprsUserMarker = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user