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:
parent
330e69bf90
commit
afaf5730a3
1 changed files with 2 additions and 2 deletions
|
|
@ -1547,8 +1547,8 @@ let MapAPRSMap = {
|
||||||
marker.openPopup();
|
marker.openPopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add to OMS for overlapping marker handling
|
// Add to OMS for overlapping marker handling (only non-historical markers)
|
||||||
if (self.oms && marker && self.map && !marker._isClusterMarker) {
|
if (self.oms && marker && self.map && !marker._isClusterMarker && !(marker as APRSMarker)._isHistorical) {
|
||||||
self.oms.addMarker(marker);
|
self.oms.addMarker(marker);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue