Skip to content

Commit a9c9fad

Browse files
Martin Journoisocefpaf
Martin Journois
authored andcommitted
Fix #371
1 parent b8e44f7 commit a9c9fad

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

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

0 commit comments

Comments
 (0)