Skip to content

Commit

Permalink
Map: Deep link to armoos meshview
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinelliott committed Jun 30, 2024
1 parent d1a468c commit e819a9a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/static/map.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,12 @@
});
}
panel += '<br/><br/>';
panel += '<b>Elsewhere</b><br/>';
var node_id = parseInt(node.id.replace('!', ''), 16);
panel += '<a href="https://meshview.armooo.net/packet_list/' + node_id + '" target="_blank">Armooo\'s MeshView</a><br/>';
content.innerHTML = panel;
overlay.setPosition(ol.proj.fromLonLat(node.position));
} else {
Expand Down

0 comments on commit e819a9a

Please sign in to comment.