From 13521cc79a335715488461d2c3a23f2912d86c24 Mon Sep 17 00:00:00 2001 From: Kakarot35 Date: Sun, 31 May 2026 15:05:09 +0530 Subject: [PATCH 1/2] fix: export WebGLEarth classes from plugins __init__.py (fixes docs build) --- folium/plugins/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/folium/plugins/__init__.py b/folium/plugins/__init__.py index 7888f2ef42..e45235224e 100644 --- a/folium/plugins/__init__.py +++ b/folium/plugins/__init__.py @@ -37,6 +37,7 @@ from folium.plugins.timestamped_wmstilelayer import TimestampedWmsTileLayers from folium.plugins.treelayercontrol import TreeLayerControl from folium.plugins.vectorgrid_protobuf import VectorGridProtobuf +from folium.plugins.webgl_earth import WebGLEarth, WebGLEarthMarker, WebGLEarthTileLayer, WebGLEarthRealtime __all__ = [ "AntPath", @@ -79,4 +80,8 @@ "TimestampedWmsTileLayers", "TreeLayerControl", "VectorGridProtobuf", + "WebGLEarth", + "WebGLEarthMarker", + "WebGLEarthTileLayer", + "WebGLEarthRealtime", ] From cbc5c12f23983720ba7e9179ee4b05208b760c1a Mon Sep 17 00:00:00 2001 From: Kakarot35 Date: Sun, 31 May 2026 15:08:15 +0530 Subject: [PATCH 2/2] fix: sort imports and apply black formatting --- folium/plugins/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/folium/plugins/__init__.py b/folium/plugins/__init__.py index e45235224e..bfc4208a65 100644 --- a/folium/plugins/__init__.py +++ b/folium/plugins/__init__.py @@ -37,7 +37,12 @@ from folium.plugins.timestamped_wmstilelayer import TimestampedWmsTileLayers from folium.plugins.treelayercontrol import TreeLayerControl from folium.plugins.vectorgrid_protobuf import VectorGridProtobuf -from folium.plugins.webgl_earth import WebGLEarth, WebGLEarthMarker, WebGLEarthTileLayer, WebGLEarthRealtime +from folium.plugins.webgl_earth import ( + WebGLEarth, + WebGLEarthMarker, + WebGLEarthRealtime, + WebGLEarthTileLayer, +) __all__ = [ "AntPath",