mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-07-31 07:49:23 +00:00
Nodes occasionally carry wrong GPS, which stretched the initial fit-to-all-nodes view across continents. /api/mesh/stats now exposes the bot's configured position ([Bot] bot_latitude/bot_longitude), and the mesh page BFSes the multi-byte-evidence subgraph from repeaters within 30 km of the bot (nearest one as fallback), framing the initial map view to that connected component. Falls back to the old fit when the bot position is unset or the component is trivially small; other mesh islands stay on the map, just outside the initial frame. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>