Skip to content

Feature request: Map enhancements #11

Description

@Bjorkan

Summary

Improve the map view with better visibility for node connections, live traffic, and region boundaries.

Requested enhancements:

  • Show a selected node’s neighbors on the map.
  • Show live traffic on the map, similar to MeshMapper and CoreScope.
  • Allow regions to have GeoJSON borders, so selected regions are clearly visible.

Problem or motivation

The map should make it easier to understand what is happening in the network.

When selecting a node, it would be useful to immediately see which nodes it has as neighbors.

It would also be useful to see live traffic directly on the map, so users can understand current activity without switching to other tools like MeshMapper or CoreScope.

For neighbor and live traffic information, we only want to use 2-byte and 3-byte packets. 1-byte packets can be unreliable and should not be used for these features.

For regions, it can be hard to understand exactly what area a selected region covers. We use all Swedish counties/states as separate regions, so it would be very helpful to show their borders on the map.

Proposed solution

Add the following map improvements:

1. Show neighbor links

When a node is selected on the map, draw lines from that node to its known neighbors.

  • Only show lines for the selected node.
  • Hide or update the lines when another node is selected.
  • Skip neighbors that do not have a known location.
  • Only use 2-byte and 3-byte packets for this feature, not 1-byte packets.

2. Show live traffic

Add a live traffic view on the map, similar to MeshMapper and CoreScope.

This could show recent activity using temporary lines, pulses, highlights, or similar visual effects.

The feature should ideally be optional or toggleable to avoid cluttering the map.

Only use 2-byte and 3-byte packets for this feature, not 1-byte packets.

3. Show region borders using GeoJSON

Allow each region to have an optional GeoJSON border.

When a region is selected:

  • Draw the region border on the map.
  • Make the selected region clearly visible.
  • Automatically fit the full border into view.

This would make it much easier to work with region setups, for example Swedish counties/states as separate regions.

Alternatives considered

Users can currently inspect node and region data manually, but showing this directly on the map would be faster and much clearer.

Users can also use MeshMapper or CoreScope for traffic visibility, but having this inside beacon-web would make the map more useful on its own.

Additional context

None that I can think of, love this software so far <3

Metadata

Metadata

Assignees

Labels

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions