Skip to main content

All Questions

Tagged with
0 votes
0 answers
52 views

Display fullwidth leaflet map inside dashboard tab using bs4Dash

I am using bs4dash. In one of the tabs I use leafletOutput to display a map, which needs to fill the whole dashboardBody (at least its width). The following code works: library(shiny) library(leaflet) ...
António's user avatar
1 vote
1 answer
50 views

How can I change tmap buttons and legend to be behind the footer?

I am making a shiny app with a footer. This footer will have some logos and other info, and it should always appear at the bottom of the screen, even when scrolling up and down. The app is multi-...
ifoxfoot's user avatar
  • 213
0 votes
1 answer
192 views

Height of leaflet map in Shiny module app

I want to add my small app as next module to my bigger app. Everything works fine except ... leaflet map height. In independent app I had: ui <- fluidPage( tags$style(type = "text/css", ...
tomsu's user avatar
  • 375
1 vote
0 answers
340 views

Leaflet legend with subtitles for grouped values

Is there a way to add subtitles to leaflet legends? The following example produces a functioning legend. However, is there a way to combine the subgroups to the same legend? I could imagine this could ...
Beni's user avatar
  • 251
0 votes
2 answers
709 views

Shiny app with navbarPage and leaflet: white spaces in margins of map

Update! The original problem was solved, now there's a different one (I changed the title to reflect this). Description My map is displaying ok in my app, but it has a white margin that I can't get ...
Juan's user avatar
  • 1,411
0 votes
0 answers
88 views

How to change color of leaflet map around the polygon shape in r? [duplicate]

I am using a shape file in leaflet plot & would like to have white color space external to the outer boundary of polygon shape instead of default greyish color background like color but unable to ...
ViSa's user avatar
  • 1,717
1 vote
2 answers
2k views

Clustered leaflet markers with sum (not count) totals: how to get consistent round red shape and label format like in unclustered markers

I would like to modify the behavior of leaflet grouping feature to total on grouping and preserve a round red bubble shape dependent on value. My data contains columns: lon lat sales_ytd I would ...
Jacek Kotowski's user avatar
4 votes
1 answer
4k views

Modifying Leaflet Popups in R

I want to modify the appearance of leaflet popups in R. The helpfile states that ... in the popupOptions() function takes "extra options passed to underlying Javascript object constructor." In this ...
mzuba's user avatar
  • 1,275