-
I exported a MapLibre basemap as a test to HTML and am noticing the zoom buttons and fullscreen toggle button available in the map when visualized in my Jupyter notebook are not present in the HTML version of the map. Is there a way to include the fullscreen button in the HTML version? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The exported map should have the same controls as shown in Jupyter Notebook. See examples at |
Beta Was this translation helpful? Give feedback.
-
Use this. Save the map as HTML before displaying it. Otherwise, you won't see any controls or any layers except the basemap. import leafmap.maplibregl as leafmap
m = leafmap.Map(
center=(-98.5795,39.8283),
zoom=3,
height='600px')
m.to_html('basemap.html')
m |
Beta Was this translation helpful? Give feedback.
Use this. Save the map as HTML before displaying it. Otherwise, you won't see any controls or any layers except the basemap.