Skip to content

Commit 3715bad

Browse files
authored
Update leaflet.fullscreen to 3.0.0 (#1818)
Fixes #1687. Note: the CDN was changed from cdnjs to jsdelivr because an issue with the former means that the fullscreen icon is broken for all versions >= 2.2.0 and <= 3.0.0.
1 parent 7268a13 commit 3715bad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

folium/plugins/fullscreen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ class Fullscreen(JSCSSMixin, MacroElement):
4040
default_js = [
4141
(
4242
"Control.Fullscreen.js",
43-
"https://cdnjs.cloudflare.com/ajax/libs/leaflet.fullscreen/1.4.2/Control.FullScreen.min.js",
43+
"https://cdn.jsdelivr.net/npm/leaflet.fullscreen@3.0.0/Control.FullScreen.min.js",
4444
)
4545
]
4646
default_css = [
4747
(
4848
"Control.FullScreen.css",
49-
"https://cdnjs.cloudflare.com/ajax/libs/leaflet.fullscreen/1.4.2/Control.FullScreen.min.css",
49+
"https://cdn.jsdelivr.net/npm/leaflet.fullscreen@3.0.0/Control.FullScreen.css",
5050
)
5151
]
5252

0 commit comments

Comments
 (0)