mirror of
https://github.com/smittix/intercept.git
synced 2026-07-24 16:58:12 -07:00
fix(maps): remove duplicate overlays — drop HUD panels from APRS/GPS (have own header), drop MapUtils range rings from ADS-B (drawRangeRings() owns them)
This commit is contained in:
@@ -10177,10 +10177,6 @@
|
||||
window.aprsMap = aprsMap;
|
||||
|
||||
aprsMapOverlays = MapUtils.addTacticalOverlays(aprsMap, {
|
||||
hudPanels: {
|
||||
modeName: 'APRS',
|
||||
getContactCount: () => Object.keys(aprsMarkers).length,
|
||||
},
|
||||
scaleBar: true,
|
||||
});
|
||||
|
||||
@@ -11305,10 +11301,6 @@
|
||||
window.groundTrackMap = groundTrackMap;
|
||||
|
||||
gpsMapOverlays = MapUtils.addTacticalOverlays(groundTrackMap, {
|
||||
hudPanels: {
|
||||
modeName: 'GPS',
|
||||
getContactCount: () => 0,
|
||||
},
|
||||
scaleBar: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user