diff --git a/src/components/WorldMap.jsx b/src/components/WorldMap.jsx
index 11e8843..4f93e95 100644
--- a/src/components/WorldMap.jsx
+++ b/src/components/WorldMap.jsx
@@ -417,20 +417,33 @@ export const WorldMap = ({
if (showPOTA && potaSpots) {
potaSpots.forEach(spot => {
if (spot.lat && spot.lon) {
- const icon = L.divIcon({
+ // Green triangle marker for POTA activators
+ const triangleIcon = L.divIcon({
className: '',
- html: `${spot.call}`,
- iconSize: null,
- iconAnchor: [0, 0]
+ html: ``,
+ iconSize: [14, 14],
+ iconAnchor: [7, 14]
});
- const marker = L.marker([spot.lat, spot.lon], { icon })
- .bindPopup(`${spot.call}
${spot.ref}
${spot.freq} ${spot.mode}`)
+ const marker = L.marker([spot.lat, spot.lon], { icon: triangleIcon })
+ .bindPopup(`${spot.call}
${spot.ref}
${spot.freq} ${spot.mode}`)
.addTo(map);
potaMarkersRef.current.push(marker);
+
+ // Only show callsign label when labels are enabled
+ if (showDXLabels) {
+ const labelIcon = L.divIcon({
+ className: '',
+ html: `${spot.call}`,
+ iconSize: null,
+ iconAnchor: [0, -2]
+ });
+ const label = L.marker([spot.lat, spot.lon], { icon: labelIcon, interactive: false }).addTo(map);
+ potaMarkersRef.current.push(label);
+ }
}
});
}
- }, [potaSpots, showPOTA]);
+ }, [potaSpots, showPOTA, showDXLabels]);
// Update satellite markers with orbit tracks
useEffect(() => {
@@ -864,7 +877,7 @@ export const WorldMap = ({
{showPOTA && (