Skip to content

Commit 1b43be4

Browse files
committed
Addresses issue python-visualization#2107
Explain which layer kinds are base layer / overlay by default.
1 parent b2cb81a commit 1b43be4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/user_guide/ui_elements/layer_control.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Every layer element in Folium has a couple common arguments:
2626

2727
- `name`: how the layer will be named in the layer control.
2828
- `overlay`: True if the layer is an overlay, False if the layer is a base layer.
29-
- base layer: only one of them can be active at a time. Mostly used for tile layers.
30-
- overlay: multiple can be active at the same time. Used for anything else than tile layers.
29+
- base layer: only one can be active at a time. Tile layers are base layers by default.
30+
- overlay: multiple can be active at the same time. `FeatureGroup`s and most non-tile layers are overlays by default.
3131
- `control`: Whether the layer can be controlled in the layer control.
3232
- `show`: Whether the layer will be shown when opening the map.
3333

0 commit comments

Comments
 (0)