import folium
from folium.plugins import MiniMap
m = folium.Map(location=(30, 20), zoom_start=4)
minimap = MiniMap()
m.add_child(minimap)
m
m = folium.Map(location=(30, 20), zoom_start=4)
minimap = MiniMap(toggle_display=True)
minimap.add_to(m)
m
m = folium.Map(location=(30, 20), zoom_start=4)
minimap = MiniMap(tile_layer='Stamen Toner')
minimap.add_to(m)
m
m = folium.Map(location=(30, 20), zoom_start=4)
minimap = MiniMap(position='topleft')
minimap.add_to(m)
m
m = folium.Map(location=(30, 20), zoom_start=4)
minimap = MiniMap(width=400, height=100)
minimap.add_to(m)
m
m = folium.Map(location=(30, 20), zoom_start=8)
minimap = MiniMap(zoom_level_offset=-8)
minimap.add_to(m)
m