From afaf5730a3a04838e2554aeede078b46712cd4c8 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Mon, 28 Jul 2025 08:06:30 -0500 Subject: [PATCH] Exclude historical markers from spider clustering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only include actual current position icons in the OverlappingMarkerSpiderfier, not historical trail points. This prevents historical positions from spidering out when clicked. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- assets/js/map.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/map.ts b/assets/js/map.ts index f32f16f..2dd3c88 100644 --- a/assets/js/map.ts +++ b/assets/js/map.ts @@ -1547,8 +1547,8 @@ let MapAPRSMap = { marker.openPopup(); } - // Add to OMS for overlapping marker handling - if (self.oms && marker && self.map && !marker._isClusterMarker) { + // Add to OMS for overlapping marker handling (only non-historical markers) + if (self.oms && marker && self.map && !marker._isClusterMarker && !(marker as APRSMarker)._isHistorical) { self.oms.addMarker(marker); } },