We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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]
The text was updated successfully, but these errors were encountered:
Here's a workaround:
popup.location = [51.505, 0] popup.close_popup() popup.open_popup()
Sorry, something went wrong.
No branches or pull requests
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:
Then try to update the popup location in another cell:
The text was updated successfully, but these errors were encountered: