geemap/geemap.py
def add_basemap(self, basemap="HYBRID"):
        """Adds a basemap to the map.

        Args:
            basemap (str, optional): Can be one of string from basemaps. Defaults to 'HYBRID'.
        """
        try:
            if (
                basemap in basemap_tiles.keys()
                and basemap_tiles[basemap] not in self.layers
            ):
                self.add_layer(basemap_tiles[basemap])

        except Exception:
            raise ValueError(
                "Basemap can only be one of the following:\n  {}".format(
                    "\n  ".join(basemap_tiles.keys())
                )
            )
Adds a basemap to the map.

        Args:
            basemap (str, optional): Can be one of string from basemaps. Defaults to 'HYBRID'.
        
Adds a basemap to the map.
Adds a basemap to the map .
def add_basemap(self, basemap="HYBRID"):
        try:
            if (
                basemap in basemap_tiles.keys()
                and basemap_tiles[basemap] not in self.layers
            ):
                self.add_layer(basemap_tiles[basemap])
        except Exception:
            raise ValueError(
                "Basemap can only be one of the following:\n  {}".format(
                    "\n  ".join(basemap_tiles.keys())
                )
            )
def add_basemap ( self , basemap = "HYBRID" ) : try : if ( basemap in basemap_tiles . keys ( ) and basemap_tiles [ basemap ] not in self . layers ) : self . add_layer ( basemap_tiles [ basemap ] ) except Exception : raise ValueError ( "Basemap can only be one of the following:\n  {}" . format ( "\n  " . join ( basemap_tiles . keys ( ) ) ) )
Adds a basemap to the map.
Adds a basemap to the map .
"""Adds a basemap to the map.

        Args:
            basemap (str, optional): Can be one of string from basemaps. Defaults to 'HYBRID'.
        """
self
basemap
Can be one of string from basemaps. Defaults to 'HYBRID'.
Can be one of string from basemaps . Defaults to ' HYBRID ' .
'HYBRID'