Skip to content

fix: export WebGLEarth classes from plugins __init__.py#2230

Merged
hansthen merged 2 commits into
python-visualization:mainfrom
Kakarot35:fix/webgl-earth-missing-init-export
May 31, 2026
Merged

fix: export WebGLEarth classes from plugins __init__.py#2230
hansthen merged 2 commits into
python-visualization:mainfrom
Kakarot35:fix/webgl-earth-missing-init-export

Conversation

@Kakarot35
Copy link
Copy Markdown
Contributor

Problem

PR #2226 added folium/plugins/webgl_earth.py but forgot to export the
classes in folium/plugins/__init__.py. This caused the docs build to
fail with:
ImportError: cannot import name 'WebGLEarth' from 'folium.plugins'

Fix

Added import and __all__ entries for all 4 classes:

  • WebGLEarth
  • WebGLEarthMarker
  • WebGLEarthTileLayer
  • WebGLEarthRealtime

@hansthen hansthen merged commit 2601e11 into python-visualization:main May 31, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants