geemap/geemap.py
def add_marker(self, location, **kwargs):
        """Adds a marker to the map. More info about marker at https://ipyleaflet.readthedocs.io/en/latest/api_reference/marker.html.

        Args:
            location (list | tuple): The location of the marker in the format of [lat, lng].

            **kwargs: Keyword arguments for the marker.
        """
        if isinstance(location, list):
            location = tuple(location)
        if isinstance(location, tuple):
            marker = ipyleaflet.Marker(location=location, **kwargs)
            self.add_layer(marker)
        else:
            raise TypeError("The location must be a list or a tuple.")
Adds a marker to the map. More info about marker at https://ipyleaflet.readthedocs.io/en/latest/api_reference/marker.html.

        Args:
            location (list | tuple): The location of the marker in the format of [lat, lng].

            **kwargs: Keyword arguments for the marker.
        
Adds a marker to the map.
Adds a marker to the map .
def add_marker(self, location, **kwargs):
        if isinstance(location, list):
            location = tuple(location)
        if isinstance(location, tuple):
            marker = ipyleaflet.Marker(location=location, **kwargs)
            self.add_layer(marker)
        else:
            raise TypeError("The location must be a list or a tuple.")
def add_marker ( self , location , ** kwargs ) : if isinstance ( location , list ) : location = tuple ( location ) if isinstance ( location , tuple ) : marker = ipyleaflet . Marker ( location = location , ** kwargs ) self . add_layer ( marker ) else : raise TypeError ( "The location must be a list or a tuple." )
Adds a marker to the map.
Adds a marker to the map .
"""Adds a marker to the map. More info about marker at https://ipyleaflet.readthedocs.io/en/latest/api_reference/marker.html.

        Args:
            location (list | tuple): The location of the marker in the format of [lat, lng].

            **kwargs: Keyword arguments for the marker.
        """
self
location
The location of the marker in the format of [lat, lng].
The location of the marker in the format of [ lat lng ] .
**kwargs
Keyword arguments for the marker.
Keyword arguments for the marker .