Skip to content

Commit f622c6b

Browse files
authored
Documentation: order of adding LayerControl to Map (#1558)
Addresses #1553
1 parent f886455 commit f622c6b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

folium/map.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ class LayerControl(MacroElement):
8686
This object should be added to a Map object. Only Layer children
8787
of Map are included in the layer control.
8888
89+
Note
90+
----
91+
The LayerControl should be added last to the map.
92+
Otherwise, the LayerControl and/or the controlled layers may not appear.
93+
8994
Parameters
9095
----------
9196
position : str

0 commit comments

Comments
 (0)