I noticed that, if I add a ipywidgets.HTML object to a Marker, a Traiterror is raised when I click on the Marker.
See below the code (adapted from https://ipyleaflet.readthedocs.io/en/latest/layers/popup.html) and the error that appears in the console with log level "warning".
I am using :
jupyterlab 3.6.1
ipywidgets 8.04
ipyleaflet 0.17.2
Apparently, it does not affect behaviour of the map, as everything works as expected but I guess this could impact something else.
Patrick
from ipywidgets import HTML
from ipyleaflet import Map, Marker, Popup
center = (52.204793, 360.121558)
m = Map(center=center, zoom=9, close_popup_on_click=False)
marker = Marker(location=(52.1, 359.9))
m.add_layer(marker)
message = HTML()
message.value = "Hello"
# Popup associated to a layer
marker.popup = message
m
Hello,
I noticed that, if I add a ipywidgets.HTML object to a Marker, a Traiterror is raised when I click on the Marker. See below the code (adapted from https://ipyleaflet.readthedocs.io/en/latest/layers/popup.html) and the error that appears in the console with log level "warning".
I am using : jupyterlab 3.6.1 ipywidgets 8.04 ipyleaflet 0.17.2
Apparently, it does not affect behaviour of the map, as everything works as expected but I guess this could impact something else.
Patrick