diff --git a/folium/plugins/groupedlayercontrol.py b/folium/plugins/groupedlayercontrol.py index f1ce463163..c30400932d 100644 --- a/folium/plugins/groupedlayercontrol.py +++ b/folium/plugins/groupedlayercontrol.py @@ -13,13 +13,14 @@ class GroupedLayerControl(JSCSSMixin, MacroElement): ---------- groups : dict A dictionary where the keys are group names and the values are lists - of layer objects. E.g. - { - "Group 1": [layer1, layer2], - "Group 2": [layer3, layer4] - } + of layer objects. For example:: - exclusive_groups: bool, default True + { + "Group 1": [layer1, layer2], + "Group 2": [layer3, layer4] + } + + exclusive_groups : bool, default True Whether to use radio buttons (default) or checkboxes. If you want to use both, use two separate instances of this class. **kwargs