Skip to content

Commit

Permalink
Improve folium legend position docstring (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs authored Dec 20, 2023
1 parent 95f59fa commit c27de81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions leafmap/foliumap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,7 @@ def add_legend(
opacity (float, optional): The opacity of the legend. Defaults to 1.0.
position (str, optional): The position of the legend, can be one of the following:
"topleft", "topright", "bottomleft", "bottomright". Defaults to "bottomright".
Note that position is only valid when draggable is False.
draggable (bool, optional): If True, the legend can be dragged to a new position. Defaults to True.
style: Additional keyword arguments to style the legend, such as position, bottom, right, z-index,
border, background-color, border-radius, padding, font-size, etc. The default style is:
Expand Down

0 comments on commit c27de81

Please sign in to comment.