From ffafdda1e54e87c6d1eb50017d99083a33e8e960 Mon Sep 17 00:00:00 2001 From: Hans Then Date: Sun, 11 May 2025 20:22:42 +0200 Subject: [PATCH] Fix add_child on Marker not returning self --- folium/map.py | 1 + 1 file changed, 1 insertion(+) diff --git a/folium/map.py b/folium/map.py index 77ec702a83..0d57822d37 100644 --- a/folium/map.py +++ b/folium/map.py @@ -445,6 +445,7 @@ def add_child(self, child, name=None, index=None): self.set_icon(child) else: super().add_child(child, name, index) + return self class Popup(MacroElement):