feat: Increase spidering distance for overlapping markers
- Increased nearbyDistance from 40 to 60 pixels for better clickability - Increased circleSpiralSwitchover from 9 to 12 markers before switching to spiral layout - Improves user experience when clicking on overlapping APRS packets 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
90d7f58a53
commit
d99879dd56
1 changed files with 2 additions and 2 deletions
|
|
@ -571,8 +571,8 @@ let MapAPRSMap = {
|
||||||
if (typeof window.OverlappingMarkerSpiderfier !== "undefined") {
|
if (typeof window.OverlappingMarkerSpiderfier !== "undefined") {
|
||||||
self.oms = new window.OverlappingMarkerSpiderfier(self.map, {
|
self.oms = new window.OverlappingMarkerSpiderfier(self.map, {
|
||||||
keepSpiderfied: true,
|
keepSpiderfied: true,
|
||||||
nearbyDistance: 40,
|
nearbyDistance: 60,
|
||||||
circleSpiralSwitchover: 9,
|
circleSpiralSwitchover: 12,
|
||||||
legWeight: 2,
|
legWeight: 2,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue