How to get Leaflet for R use 100% of Shiny dashboard height

后端 未结 6 622
伪装坚强ぢ
伪装坚强ぢ 2020-12-13 01:44

I am in the process of creating a Shiny dashboard application, where the dashboard body is supposed to show some maps. So far no problem to get the map expand over the entir

6条回答
  •  攒了一身酷
    2020-12-13 02:31

    Another option is what jcheng5 and kent37 have described on GitHub

    output$mymap = renderLeaflet({...make a map...})
    leafletOutput('mymap', height=1000)
    

    Works for me with a leaflet map in R flexdashboard

提交回复
热议问题