diff --git a/geemap/foliumap.py b/geemap/foliumap.py index bb7deedf60..4f47e77c92 100644 --- a/geemap/foliumap.py +++ b/geemap/foliumap.py @@ -608,7 +608,7 @@ def add_raster( return_client=True, **kwargs, ) - self.add_layer(tile_layer) + tile_layer.add_to(self) bounds = tile_client.bounds() # [ymin, ymax, xmin, xmax] bounds = (