-
Notifications
You must be signed in to change notification settings - Fork 361
Open
@lopezvoliver
Description
Updating the location of a Popup should move it to that location, as seen in this jsfiddle:
But in ipyleaflet this doesn't work:
First setup the map:
import ipyleaflet from ipywidgets import HTML m = ipyleaflet.Map(center=[51.505, -0.09]) info = HTML("Hello world") popup = ipyleaflet.Popup( location = [51.505, -0.09], child = info, close_button = True, auto_close=True, close_on_escape_key=True ) m.add(popup) m
Then try to update the popup location in another cell:
popup.location=[51.505, 0]
Metadata
Metadata
Assignees
Labels
No labels