Describe the bug
Using add_bitmap to add an image overlay to a map however the clear_bitmap() function does not seem to work and the bitmap will not clear unless refreshed.
Expected behaviour
When the bitmap layer is turned off using the switch Input button, the bitmap layer should trigger the clear_bitmap() function however it does not remove the bitmap layer
Screenshots
Versions
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22621)
Matrix products: default
locale:
[1] LC_COLLATE=English_Australia.utf8 LC_CTYPE=English_Australia.utf8 LC_MONETARY=English_Australia.utf8 LC_NUMERIC=C LC_TIME=English_Australia.utf8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] shinyWidgets_0.7.6 mapdeck_0.3.40004 shiny_1.7.4
loaded via a namespace (and not attached):
[1] Rcpp_1.0.10 rstudioapi_0.14 magrittr_2.0.3 xtable_1.8-4 R6_2.5.1 rlang_1.1.0 fastmap_1.1.0 tools_4.2.2 cli_3.6.0 jquerylib_0.1.4 withr_2.5.0
[12] htmltools_0.5.4 ellipsis_0.3.2 yaml_2.3.6 digest_0.6.31 lifecycle_1.0.3 later_1.3.0 htmlwidgets_1.6.2 sass_0.4.4 promises_1.2.0.1 memoise_2.0.1 cachem_1.0.6
``` `
Describe the bug Using add_bitmap to add an image overlay to a map however the clear_bitmap() function does not seem to work and the bitmap will not clear unless refreshed.
To Reproduce
Expected behaviour When the bitmap layer is turned off using the switch Input button, the bitmap layer should trigger the clear_bitmap() function however it does not remove the bitmap layer
Screenshots
Versions