Skip to content

Commit cdad5b8

Browse files
committed
Merge pull request #387 from ocefpaf/v0.2.1
Fix #371
2 parents dfe11b6 + a9c9fad commit cdad5b8

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)