Skip to content

Commit

Permalink
Fix map horizontal scrollbar issue (#1728)
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Sep 24, 2023
1 parent 7383389 commit 488ac0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geemap/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ def _layer_editor(self) -> ipyleaflet.WidgetControl:
return self._find_widget_of_type(map_widgets.LayerEditor)

def __init__(self, **kwargs):
self.width: str = kwargs.pop("width", "100%")
if "width" in kwargs:
self.width: str = kwargs.pop("width", "100%")
self.height: str = kwargs.pop("height", "600px")

self.ee_layers: Dict[str, Dict[str, Any]] = {}
Expand Down

0 comments on commit 488ac0a

Please sign in to comment.