Exclude historical markers from spider clustering

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 <noreply@anthropic.com>
This commit is contained in:
Graham McIntire 2025-07-28 08:06:30 -05:00
parent 330e69bf90
commit afaf5730a3
No known key found for this signature in database

View file

@ -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);
}
},