Skip to content

Commit

Permalink
Improve support for LayerEditor (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs authored Jul 19, 2024
1 parent f45cf5f commit 1328ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leafmap/map_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def loading_change(change):
)
self._embedded_widget = ipywidgets.Label(value="Vis params are uneditable")
if layer_dict is not None:
if layer_dict["type"] in ["LOCAL", "COG", "STAC"]:
if layer_dict["type"] in ["LOCAL", "COG", "STAC", "XARRAY"]:
self._embedded_widget = RasterLayerEditor(
host_map=host_map, layer_dict=layer_dict
)
Expand Down

0 comments on commit 1328ba1

Please sign in to comment.