legend labels not displaying inline when using labels and colors in leaflet map on shiny

后端 未结 2 1526
我在风中等你
我在风中等你 2021-01-02 18:03

When i want to use labels and colors parameters with addLegend() function inside a shinyAppthe legend is displayed in sta

2条回答
  •  梦谈多话
    2021-01-02 18:54

    I had the same problem. In my case, adjusting CSS of the legend solved the problem:

    ui <- bootstrapPage( 
      tags$style(type="text/css", "div.info.legend.leaflet-control br {clear: both;}"),
    ...
    )
    

提交回复
热议问题