# !pip install leafmap import leafmap.foliumap as leafmap m = leafmap.Map() m.add_basemap("HYBRID") m m.to_html("mymap.html") html = m.to_html() # print(html)