Provide a spot map to go with the existing spot list#95
Provide a spot map to go with the existing spot list#95ianrenton wants to merge 16 commits intoham2k:mainfrom
Conversation
…ontent which will work for new developers debugging the project.
# Conflicts: # .env
…pot-map # Conflicts: # src/screens/OperationScreens/OpSpotsTab/components/SpotsPanel.jsx
|
I did have a go at embedding a whole SpotItem inside the Callout, but it looks a bit janky, and I haven't found a nice way to resize the width down. I am leaning towards it being better to stick with a layout based on the existing QSO map rather than based on SpotItem, but I'm happy to port some of the style over (frequency meter, icon etc) if you think it's worth doing. |
|
As suggested on Discord, I have copied more of the formatting from SpotItem and compressed the size of the popup slightly. Hopefully it now looks a bit more "on brand" with the list view. Based on the discussion on the forum, I have not hidden the feature behind a new Settings entry. I've seen a multi-program activation and can confirm the display looks the same as in the list view, as expected: |
|
Merge conflict resolved |
# Conflicts: # src/screens/OperationScreens/OpMapTab/components/MapWithQSOs.jsx # src/screens/OperationScreens/OpSpotsTab/components/SpotsPanel.jsx
|
Nice feature @ianrenton! |
|
I've merged upstream main into my branch but it looks like more significant changes will be required from my side to migrate this to match the current state of PoLo. In particular, it looks like PoLo no longer uses Set this PR to draft until I have been able to do this. |


Hi, I am not sure this is 100% complete but I'm submitting it for your review and comment.
I have implemented a spot map, and made the existing spot view toggle between a list and a map by pressing a new button.
When clicked, spots are shown on a map instead of a list. The button then allows toggling back. On the map, spots are coloured by band, and sized based on their age (more recent spots are larger).
Upon clicking a marker, a Callout appears with details of the spot.
When viewed from inside an Operation, the user QTH is shown, the Callouts include distance and bearing, and spots already worked appear in grey. Pressing the callout works the same as pressing the spot in the list, i.e. it takes you to the QSO screen to add a new QSO with the appropriate details populated.
When spots are viewed outside the context of an operation, the above features are not available.
Some potential points for discussion: