You are absolutely right. I dug deeper into the logic, and there is a specific coding "prioritization" error in the upstream WorldMap.jsx that causes exactly what you are seeing.
The "Smoking Gun" in the Code
In src/components/WorldMap.jsx (around line 777), the code determines which callsign to display on the map pin like this:
const displayCall = spot.receiver || spot.sender;
Why this breaks for you:
The || (OR) operator in JavaScript picks the first value that isn't empty.
1.
When YOU hear THEM (RX Spot):
◦
spot.sender = The DX Station (e.g., K1ABC)
◦
spot.receiver = N0MQL (You)
◦
The code looks at spot.receiver || spot.sender. Since spot.receiver (N0MQL) exists, it picks N0MQL.
◦
The Result: The pin is placed at the DX station's location (the sender), but the label says "N0MQL".
2.
When THEY hear YOU (TX Spot):
◦
spot.sender = N0MQL (You)
◦
spot.receiver = The DX Station (e.g., G4XYZ)
◦
The code looks at spot.receiver || spot.sender. Since spot.receiver (G4XYZ) exists, it picks G4XYZ.
◦
The Result: The pin is placed at the DX station's location (the receiver), and the label correctly says the DX callsign.
Summary of the Bug
Because spot.receiver is checked first, any time you are the receiver (which is every single station you decode), the map overrides the DX callsign with your own.
(continued on alt text of next screenshot)
Another of the exact same screenshot, but the alt text continues with what was missing from the other one, because of the character limit...
The upstream logic assumes that a spot object only contains one "interesting" callsign, but in your setup—where the server is tracking your specific station—the spot objects contain both your call and the DX call. The || logic is too simplistic and ends up "defaulting" to you whenever you're on the receiving end.
This confirms your observation: It shows the reporter (you) instead of the DX station for all your RX decodes.
The #openhamclock team has rapidly made more improvements, but they still don't grok the point of clickable pins on the map.
Like, this should be THE MAIN POINT of painting a map with pins of spots, as the CENTER window of a web UI.
They Just... Don't […]
[Original post on mastodon.hams.social]