SymbolixAU / mapdeck

R interface to Deck.gl and Mapbox

Home Page:https://symbolixau.github.io/mapdeck/articles/mapdeck.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

quarto tabset and mapdeck

xtimbeau opened this issue · comments

Describe the bug
when using tabsets in quarto with mapdecks, the hidden tabset is not working. This appears with th edev version, not the CRAN one.

To Reproduce

---
title: "tabset and mapdeck"
format: html
---
library(mapdeck)
# you need a token for that to work

::: panel-tabset
## panel 1
this one is working, you can zoom the map
```{r}
mapdeck::mapdeck()
```

## panel 2
This one is dead
```{r}
mapdeck::mapdeck()
```
:::

Expected behaviour
hidden tabset mapdeck should function when made visible

Versions
It is working with mapdeck 0.3.4 not with 0.3.4.004

commented

I'm 99% sure this is the same issue as - #373

While waiting for the next deck.gl release, I've downgraded the bundled deck.gl to 8.9.11 so at least the multi-tab works.

(Although I can't test your code because it errors for me)

commented

If you re-install the latest mapdeck github version it should work again as expected (I've downgraded it to the version before #373 broke).

commented

given - #373 (comment) - can you try this now using the latest 'master' branch?

Hi, I have installed the latest from main and it seems to be working fine. I'll do further testing and keep you informed.

commented

Please reopen if issue persists