Issue with ipyleaflet rendering #2118
Closed
thedbcooper
started this conversation in
General
Replies: 1 comment
-
|
This smells like a bug that should get fixed, but a workaround in the meantime would be create any new_marker = Marker(location=(50, 0), draggable=True)
@reactive.Effect
@reactive.event(input.add_layer)
def _():
m.add_layer(new_marker)If you're willing, I'd very much a appreciate if you report this over at https://github.com/posit-dev/py-shinywidgets/issues/new |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I am having issues with rendering leaflet maps.
In Jupyter notebooks, adding a layer to an existing map works as expected. In Shiny, the LayersControl disappears.
Example Code:
Beta Was this translation helpful? Give feedback.
All reactions