Skip to content

Commit 68f739f

Browse files
authored
Fix issues 2152
Enable CustomIcon to be displayed from a GeoJson.
1 parent 3b319ad commit 68f739f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

folium/features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,7 +1940,7 @@ def __init__(
19401940
popup_anchor: Optional[Tuple[int, int]] = None,
19411941
):
19421942
super(Icon, self).__init__()
1943-
self._name = "CustomIcon"
1943+
self._name = "icon"
19441944
self.options = remove_empty(
19451945
icon_url=image_to_url(icon_image),
19461946
icon_size=icon_size,

0 commit comments

Comments
 (0)