qfes / rdeck

Deck.gl widget for R
https://qfes.github.io/rdeck
MIT License
97 stars 0 forks source link

Layers removed from map after `set_layer_visibility` #101

Closed anthonynorth closed 1 year ago

anthonynorth commented 1 year ago

set_layer_visiblitity() is dropping layers from the map in shiny apps, because layer type is being overwritten with null and this isn't explicitly catered for in typescript.

https://github.com/qfes/rdeck/blob/016d7e6dff1dabb97c3fdf3d177cb364ea83e318/R/shiny.R#L208-L213