Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion geemap/map_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ def handle_spinner_event(event):
if event["type"] == "mouseenter":
spinner.icon = "times"
elif event["type"] == "mouseleave":
if layer.loading:
if hasattr(layer, "loading") and layer.loading:
spinner.icon = "spinner spin lg"
else:
spinner.icon = "times"
Expand Down
19 changes: 10 additions & 9 deletions geemap/toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -2547,17 +2547,18 @@ def submit_clicked(b):

with output:
output.clear_output()
link = create_download_link(
out_gif,
title="Click here to download: ",
)
display(link)
if nd_bands is not None:
link_nd = create_download_link(
out_gif.replace(".gif", "_nd.gif"),
if os.path.exists(out_gif):
link = create_download_link(
out_gif,
title="Click here to download: ",
)
display(link_nd)
display(link)
if nd_bands is not None:
link_nd = create_download_link(
out_gif.replace(".gif", "_nd.gif"),
title="Click here to download: ",
)
display(link_nd)

m.default_style = {"cursor": "default"}

Expand Down
Loading