Skip to content

Commit

Permalink
Update leaflet.fullscreen to 3.0.0 (#1818)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
afontenot authored Oct 17, 2023
1 parent 7268a13 commit 3715bad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions folium/plugins/fullscreen.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ class Fullscreen(JSCSSMixin, MacroElement):
default_js = [
(
"Control.Fullscreen.js",
"https://cdnjs.cloudflare.com/ajax/libs/leaflet.fullscreen/1.4.2/Control.FullScreen.min.js",
"https://cdn.jsdelivr.net/npm/leaflet.fullscreen@3.0.0/Control.FullScreen.min.js",
)
]
default_css = [
(
"Control.FullScreen.css",
"https://cdnjs.cloudflare.com/ajax/libs/leaflet.fullscreen/1.4.2/Control.FullScreen.min.css",
"https://cdn.jsdelivr.net/npm/leaflet.fullscreen@3.0.0/Control.FullScreen.css",
)
]

Expand Down

0 comments on commit 3715bad

Please sign in to comment.