Open giswqs opened 3 months ago
Yep, that's the expected behavior. After the map is rendered, the message queue is cleared!
Is it possible to retain the message queue?
One use case is that users may want to see the map first before saving it to an HTML file. However, once the map is rendered, saving the map to an HTML file does not work properly anymore because the layers are gone.
Yes, this seems to be a special use case for the ipywidget. We can store it This also makes it possible to get information about layers etc from the python object even after the map has rendered. So I will keep this issue open.
When rendering the map object multiple times in a Jupyter notebook, layers only show up the first time when it is displayed.