From daf7a4422f7a7c0c3eeb257c009bd7c02d10a785 Mon Sep 17 00:00:00 2001 From: Martin Journois Date: Wed, 24 Feb 2016 01:40:47 +0100 Subject: [PATCH] Fix #371 --- folium/map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folium/map.py b/folium/map.py index d78310962c..e84711df32 100644 --- a/folium/map.py +++ b/folium/map.py @@ -331,7 +331,7 @@ class FeatureGroup(Layer): LayerControls) or a base layer (ticked with a radio button). """ def __init__(self, name=None, overlay=True, control=True): - super(FeatureGroup, self).__init__(overlay=overlay, control=control) + super(FeatureGroup, self).__init__(overlay=overlay, control=control, name=name) self._name = 'FeatureGroup' self.tile_name = name if name is not None else self.get_name()