geemap/geemap.py
def zoom_to_me(self, zoom=14, add_marker=True):
        """Zoom to the current device location.

        Args:
            zoom (int, optional): Zoom level. Defaults to 14.
            add_marker (bool, optional): Whether to add a marker of the current device location. Defaults to True.
        """
        lat, lon = get_current_latlon()
        self.set_center(lon, lat, zoom)

        if add_marker:
            marker = ipyleaflet.Marker(
                location=(lat, lon),
                draggable=False,
                name="Device location",
            )
            self.add_layer(marker)
Zoom to the current device location.

        Args:
            zoom (int, optional): Zoom level. Defaults to 14.
            add_marker (bool, optional): Whether to add a marker of the current device location. Defaults to True.
        
Zoom to the current device location.
Zoom to the current device location .
def zoom_to_me(self, zoom=14, add_marker=True):
        lat, lon = get_current_latlon()
        self.set_center(lon, lat, zoom)
        if add_marker:
            marker = ipyleaflet.Marker(
                location=(lat, lon),
                draggable=False,
                name="Device location",
            )
            self.add_layer(marker)
def zoom_to_me ( self , zoom = 14 , add_marker = True ) : lat , lon = get_current_latlon ( ) self . set_center ( lon , lat , zoom ) if add_marker : marker = ipyleaflet . Marker ( location = ( lat , lon ) , draggable = False , name = "Device location" , ) self . add_layer ( marker )
Zoom to the current device location.
Zoom to the current device location .
"""Zoom to the current device location.

        Args:
            zoom (int, optional): Zoom level. Defaults to 14.
            add_marker (bool, optional): Whether to add a marker of the current device location. Defaults to True.
        """
self
zoom
Zoom level. Defaults to 14.
Zoom level . Defaults to 14 .
14
add_marker
Whether to add a marker of the current device location. Defaults to True.
Whether to add a marker of the current device location . Defaults to True .
True