Skip to content

Commit 221d5b4

Browse files
authored
Docs: explain which layer kinds are base layer / overlay by default (#2108)
1 parent 6644d59 commit 221d5b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/user_guide/ui_elements/layer_control.md

Lines changed: 2 additions & 2 deletions
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)