Skip to content

Commit 3ea2a7f

Browse files
swtormyConengmo
andauthored
Update folium/plugins/overlapping_marker_spiderfier.py
Co-authored-by: Frank Anema <[email protected]>
1 parent 07e536d commit 3ea2a7f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

folium/plugins/overlapping_marker_spiderfier.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,14 @@ class OverlappingMarkerSpiderfier(JSCSSMixin, MacroElement):
7373
)
7474
]
7575

76-
def __init__(self, options=None, **kwargs):
76+
def __init__(
77+
self,
78+
keep_spiderfied: bool = True,
79+
nearby_distance: int = 20,
80+
leg_weight: float = 1.5,
81+
circle_spiral_switchover: int = 9,
82+
**kwargs
83+
):
7784
super().__init__()
7885
self._name = "OverlappingMarkerSpiderfier"
7986
default_options = {

0 commit comments

Comments
 (0)