Skip to content

Commit daf7a44

Browse files
author
Martin Journois
committed
Fix #371
1 parent a235897 commit daf7a44

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
@@ -331,7 +331,7 @@ class FeatureGroup(Layer):
331331
LayerControls) or a base layer (ticked with a radio button).
332332
"""
333333
def __init__(self, name=None, overlay=True, control=True):
334-
super(FeatureGroup, self).__init__(overlay=overlay, control=control)
334+
super(FeatureGroup, self).__init__(overlay=overlay, control=control, name=name)
335335
self._name = 'FeatureGroup'
336336

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

0 commit comments

Comments
 (0)