You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the example code at: https://ipyleaflet.readthedocs.io/en/latest/layers/popup.html in VS Code, I am not getting any output. From this example I am expecting three outputs; a map, a marker with a popup, and a popup at the center of the map.
If I uncomment m.add_layer(popup) I get a map output, but it is lacking the Marker and the center popup. If I then comment out marker.popup, I get a map with the center popup. Finally if I remove the argument child=message1 from Popup object creation, I get the map, the marker, and an empty popup window in the center of the map. It seems anything related to the message1 or message2 variable silently fail.
When I check on the message1 variable through a simple print, I do see HTML(value='Try clicking the marker!').
I am curious to see if this has something to do with my set up, so just seeing if someone can replicate this behavior would be great! Even if it is related to my set up, I am wondering if a louder failure might be an appropriate addition.
Thank you!
The text was updated successfully, but these errors were encountered:
Has anybody looked into this issue? I am having a similar issue. My map displays fine until I add marker.popup. Map stops showing up and no error message is returned.
When running the example code at: https://ipyleaflet.readthedocs.io/en/latest/layers/popup.html in VS Code, I am not getting any output. From this example I am expecting three outputs; a map, a marker with a popup, and a popup at the center of the map.
If I uncomment
m.add_layer(popup)
I get a map output, but it is lacking the Marker and the center popup. If I then comment outmarker.popup
, I get a map with the center popup. Finally if I remove the argumentchild=message1
from Popup object creation, I get the map, the marker, and an empty popup window in the center of the map. It seems anything related to the message1 or message2 variable silently fail.When I check on the message1 variable through a simple print, I do see
HTML(value='Try clicking the marker!')
.I am curious to see if this has something to do with my set up, so just seeing if someone can replicate this behavior would be great! Even if it is related to my set up, I am wondering if a louder failure might be an appropriate addition.
Thank you!
The text was updated successfully, but these errors were encountered: