Skip to content

Commit

Permalink
Add className option (#2074)
Browse files Browse the repository at this point in the history
Closes #2055
  • Loading branch information
hansthen authored Jan 6, 2025
1 parent ed5eb00 commit af03218
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions folium/vector_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ def path_options(
if kwargs.get("tags"):
extra_options["tags"] = kwargs.pop("tags")

if kwargs.get("className"):
extra_options["className"] = kwargs.pop("className")

default = {
"stroke": kwargs.pop("stroke", True),
"color": color,
Expand Down

0 comments on commit af03218

Please sign in to comment.