Skip to content

Commit 8c883dc

Browse files
resolved issue
1 parent b68ab3f commit 8c883dc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/user_guide/ui_elements/control.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ from folium.features import Control
3636
m = folium.Map(location=[45, 0], zoom_start=4)
3737

3838
control = Control(
39-
"Fullscreen",
39+
"fullscreen",
4040
position="topright",
4141
# Any plugin options become JS options.
4242
title="View Fullscreen",
@@ -46,7 +46,7 @@ control = Control(
4646
# Add the plugin's JS/CSS assets.
4747
control.add_js_link(
4848
"leaflet-fullscreen",
49-
"https://unpkg.com/leaflet.fullscreen@1.6.0/Control.FullScreen.js",
49+
"https://unpkg.com/leaflet-fullscreen@1.6.0/dist/leaflet.fullscreen.umd.js",
5050
)
5151
control.add_css_link(
5252
"leaflet-fullscreen",

0 commit comments

Comments
 (0)