+ {!mapLayerSettings.onlyMqttNeighbors && (
+ <>
+
+
+
High: {legendThresholds.t4}+ packets
+
+
+
+
Med-High: {legendThresholds.t3}-{legendThresholds.t4 - 1}
+
+
+
+
Medium: {legendThresholds.t2}-{legendThresholds.t3 - 1}
+
+
+
+
Low-Med: {legendThresholds.t1}-{legendThresholds.t2 - 1}
+
+
+
+
Low: {legendThresholds.min + 1}-{legendThresholds.t1 - 1}
+
+
+
+
Minimal: {legendThresholds.min}
+
+ >
+ )}
+
diff --git a/meshexplorer/src/hooks/useMapLayerSettings.ts b/meshexplorer/src/hooks/useMapLayerSettings.ts
index 4260c20..758cbb0 100644
--- a/meshexplorer/src/hooks/useMapLayerSettings.ts
+++ b/meshexplorer/src/hooks/useMapLayerSettings.ts
@@ -10,6 +10,7 @@ export interface MapLayerSettings {
tileLayer: string;
showAllNeighbors: boolean;
useColors: boolean;
+ onlyMqttNeighbors: boolean;
nodeTypes: NodeType[];
showMeshcoreCoverageOverlay: boolean;
minPacketCount: number;
@@ -23,6 +24,7 @@ const DEFAULT_MAP_LAYER_SETTINGS: MapLayerSettings = {
tileLayer: "openstreetmap",
showAllNeighbors: false,
useColors: true,
+ onlyMqttNeighbors: false,
nodeTypes: ["meshcore"],
showMeshcoreCoverageOverlay: false,
minPacketCount: 1,