diff --git a/geemap/core.py b/geemap/core.py index 6829800d5f..73a057d4b5 100644 --- a/geemap/core.py +++ b/geemap/core.py @@ -762,8 +762,6 @@ def add_layer( } super().add(tile_layer) - addLayer = add_layer - def _open_help_page( self, host_map: MapInterface, selected: bool, item: toolbar.Toolbar.Item ) -> None: @@ -862,3 +860,8 @@ def _on_layers_change(self, change) -> None: del change # Unused. if self._layer_manager: self._layer_manager.refresh_layers() + + # Keep the following three camelCase methods for backwards compatibility. + addLayer = add_layer + centerObject = center_object + setCenter = set_center