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
I'm using deckgl_proxy and update_deckgl to add layers to a previously rendered map in my Shiny app. I'm using one observeEvent for each layer I want to add to the map. The goal is that each layer is added on top of each other after each observeEvent. However, each time deckgl_proxy is called inside the event it removes the previously rendered layers and only leaves the layers from the original renderDeckgl and the new one from the event. If this is the expected behaviour, could you please suggest a workaround?
Also, is there a way to programmatically remove each layer?
Thanks,
The text was updated successfully, but these errors were encountered:
Hi @crazycapivara,
I'm using
deckgl_proxy
andupdate_deckgl
to add layers to a previously rendered map in my Shiny app. I'm using oneobserveEvent
for each layer I want to add to the map. The goal is that each layer is added on top of each other after eachobserveEvent
. However, each timedeckgl_proxy
is called inside the event it removes the previously rendered layers and only leaves the layers from the originalrenderDeckgl
and the new one from the event. If this is the expected behaviour, could you please suggest a workaround?Also, is there a way to programmatically remove each layer?
Thanks,
The text was updated successfully, but these errors were encountered: