geemap/geemap.py
def add_minimap(self, zoom=5, position="bottomright"):
        """Adds a minimap (overview) to the ipyleaflet map.

        Args:
            zoom (int, optional): Initial map zoom level. Defaults to 5.
            position (str, optional): Position of the minimap. Defaults to "bottomright".
        """
        minimap = ipyleaflet.Map(
            zoom_control=False,
            attribution_control=False,
            zoom=zoom,
            center=self.center,
            layers=[basemap_tiles["ROADMAP"]],
        )
        minimap.layout.width = "150px"
        minimap.layout.height = "150px"
        ipyleaflet.link((minimap, "center"), (self, "center"))
        minimap_control = ipyleaflet.WidgetControl(widget=minimap, position=position)
        self.add_control(minimap_control)
Adds a minimap (overview) to the ipyleaflet map.

        Args:
            zoom (int, optional): Initial map zoom level. Defaults to 5.
            position (str, optional): Position of the minimap. Defaults to "bottomright".
        
Adds a minimap (overview) to the ipyleaflet map.
Adds a minimap ( overview ) to the ipyleaflet map .
def add_minimap(self, zoom=5, position="bottomright"):
        minimap = ipyleaflet.Map(
            zoom_control=False,
            attribution_control=False,
            zoom=zoom,
            center=self.center,
            layers=[basemap_tiles["ROADMAP"]],
        )
        minimap.layout.width = "150px"
        minimap.layout.height = "150px"
        ipyleaflet.link((minimap, "center"), (self, "center"))
        minimap_control = ipyleaflet.WidgetControl(widget=minimap, position=position)
        self.add_control(minimap_control)
def add_minimap ( self , zoom = 5 , position = "bottomright" ) : minimap = ipyleaflet . Map ( zoom_control = False , attribution_control = False , zoom = zoom , center = self . center , layers = [ basemap_tiles [ "ROADMAP" ] ] , ) minimap . layout . width = "150px" minimap . layout . height = "150px" ipyleaflet . link ( ( minimap , "center" ) , ( self , "center" ) ) minimap_control = ipyleaflet . WidgetControl ( widget = minimap , position = position ) self . add_control ( minimap_control )
Adds a minimap (overview) to the ipyleaflet map.
Adds a minimap ( overview ) to the ipyleaflet map .
"""Adds a minimap (overview) to the ipyleaflet map.

        Args:
            zoom (int, optional): Initial map zoom level. Defaults to 5.
            position (str, optional): Position of the minimap. Defaults to "bottomright".
        """
self
zoom
Initial map zoom level. Defaults to 5.
Initial map zoom level . Defaults to 5 .
5
position
Position of the minimap. Defaults to "bottomright".
Position of the minimap . Defaults to " bottomright " .
"bottomright"