Open eeholmes opened 2 years ago
I give up. I have tried the following with no success.
geemap.to_image()
https://geemap.org/geemap/#geemap.geemap.Map.to_image Seems designed to take a screenshot of a monitorgeemap
tools and ipyleaflet
embed_html tool. Created html with lots of stuff in it but could not display the html in a browser.Map.addLayer
. Nope all widgets except the first have missing layers.Problem seems to be with the widget saving after the first widget. So first plot is ok, but subsequent ones won't have layers.
In order to render a notebook with an ipyleaflet plot into markdown, the widget state needs to be saved which can be done from within JupyterLab or classic notebooks. This so far has worked for the plots. But now the
geemap
plots in https://icesat-2hackweek.github.io/coastal_topobathy/examples/AK_topobathy_vis.html don't fully save the widget state. The polygons in the plots at the bottom don't show up. Nothing I have tried has successfully saved the widget state for these plots.But I have yet to find a way that one can export an ipyleaflet plot to png. Essentially do a "screenshot" and save that. On stackoverflow, the recommendation is to do just that: manually take a screenshot!