Increase marker spidering spread to prevent icon overlap
Widen nearbyDistance, spiderfyDistanceMultiplier, and foot separation to accommodate 120x32px marker labels that were overlapping when spidered at close zoom levels.
This commit is contained in:
parent
33799f3f33
commit
d2910b5475
1 changed files with 7 additions and 3 deletions
|
|
@ -622,14 +622,18 @@ let MapAPRSMap = {
|
|||
if (typeof window.OverlappingMarkerSpiderfier !== "undefined") {
|
||||
self.oms = new window.OverlappingMarkerSpiderfier(self.map, {
|
||||
keepSpiderfied: true,
|
||||
nearbyDistance: 20,
|
||||
circleSpiralSwitchover: 15,
|
||||
nearbyDistance: 65,
|
||||
circleSpiralSwitchover: 10,
|
||||
circleFootSeparation: 80,
|
||||
spiralFootSeparation: 50,
|
||||
spiralLengthStart: 30,
|
||||
spiralLengthFactor: 6,
|
||||
legWeight: 2,
|
||||
legColors: {
|
||||
usual: "#222",
|
||||
highlighted: "#f00",
|
||||
},
|
||||
spiderfyDistanceMultiplier: 3.5,
|
||||
spiderfyDistanceMultiplier: 6,
|
||||
});
|
||||
|
||||
// Add click handler for spiderfied markers
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue