Skip to content

Commit 3a15bf7

Browse files
committed
Add DivIcon as accepted type of Marker icon
1 parent d04d4ba commit 3a15bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

folium/map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def __init__(
373373
location: Optional[Sequence[float]] = None,
374374
popup: Union["Popup", str, None] = None,
375375
tooltip: Union["Tooltip", str, None] = None,
376-
icon: Optional[Icon] = None,
376+
icon: Optional[Union[Icon, "DivIcon"]] = None,
377377
draggable: bool = False,
378378
**kwargs: TypeJsonValue,
379379
):

0 commit comments

Comments
 (0)