Skip to content

Commit 4e68c72

Browse files
committed
Merge pull request #372 from BibMartin/issue_371
Fix #371
2 parents aff92a8 + daf7a44 commit 4e68c72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

folium/map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ class FeatureGroup(Layer):
400400
LayerControls) or a base layer (ticked with a radio button).
401401
"""
402402
def __init__(self, name=None, overlay=True, control=True):
403-
super(FeatureGroup, self).__init__(overlay=overlay, control=control)
403+
super(FeatureGroup, self).__init__(overlay=overlay, control=control, name=name)
404404
self._name = 'FeatureGroup'
405405

406406
self.tile_name = name if name is not None else self.get_name()

0 commit comments

Comments
 (0)