-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
I am using mapgl within a shiny app to display census data. I've added the screenshot control, geocoder control and several other controls including a custom control to the map. When I use the screenshot control to download an image all of the controls except for geocoder control are properly hidden in the image, but the geocoder remains. I also notice that the formatting of the search icon is messed up in the screenshot image as well, not sure if that is related somehow.
How the map looks in the shiny app:

How the map looks in the png downloaded by the screenshot control:

Code for a minimal reproducible example:
maplibre(projection = "mercator") %>%
add_screenshot_control(hide_controls = T) %>%
add_geocoder_control()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
