mirror of
https://github.com/smittix/intercept.git
synced 2026-05-30 01:19:28 -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, {
|
||||
hudPanels: {
|
||||
modeName: 'APRS',
|
||||
getContactCount: () => Object.keys(aprsStations).length,
|
||||
getContactCount: () => Object.keys(aprsMarkers).length,
|
||||
},
|
||||
scaleBar: true,
|
||||
});
|
||||
@@ -10225,6 +10225,7 @@
|
||||
} catch (_) {}
|
||||
aprsMap = null;
|
||||
window.aprsMap = null;
|
||||
aprsMapOverlays = null;
|
||||
}
|
||||
aprsMarkers = {};
|
||||
aprsUserMarker = null;
|
||||
|
||||
Reference in New Issue
Block a user