Skip to content

Commit af03218

Browse files
authored
Add className option (#2074)
Closes #2055
1 parent ed5eb00 commit af03218

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

folium/vector_layers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ def path_options(
103103
if kwargs.get("tags"):
104104
extra_options["tags"] = kwargs.pop("tags")
105105

106+
if kwargs.get("className"):
107+
extra_options["className"] = kwargs.pop("className")
108+
106109
default = {
107110
"stroke": kwargs.pop("stroke", True),
108111
"color": color,

0 commit comments

Comments
 (0)