diff --git a/meshview/templates/map.html b/meshview/templates/map.html
index b9dfc44..381c047 100644
--- a/meshview/templates/map.html
+++ b/meshview/templates/map.html
@@ -191,6 +191,7 @@ document.querySelectorAll(".filter-checkbox").forEach(input => {
input.addEventListener("change", updateMarkers);
});
+
// ---- Edges ----
var edgeLayer = L.layerGroup().addTo(map);
var edgesData = null;
@@ -202,6 +203,8 @@ fetch('/api/edges')
.then(data => { edgesData = data.edges; })
.catch(err => console.error(err));
+
+
function onNodeClick(node) {
// Toggle off if already selected
if (selectedNodeId != node.id) {
@@ -237,7 +240,7 @@ edgesData.forEach(edge => {
.addTo(edgeLayer)
.bringToFront(); // Force this line to be visible
- console.log(`Edge type: ${edge.type} | From: ${fromNode.long_name} (${fromNode.lat},${fromNode.long}) -> To: ${toNode.long_name} (${toNode.lat},${toNode.long})`);
+ console.log(`Edge type: To: ${toNode.long_name} (${toNode.lat},${toNode.long})`);
});
// Bring all edges to top