Skip to content

v2.1.0

Compare
Choose a tag to compare
@gadenbuie gadenbuie released this 01 Aug 14:38
· 93 commits to main since this release

leaflet 2.1.0

Bug fixes and improvements

  • Enable JS function literals (wrapped in htmlwidgets::JS()) to be included in arguments to methods invoked on leafletProxy objects. (JS function literals could already be included with methods invoked on leaflet objects, so this change just brings leafletProxy to parity.) (#420)

  • Add missing CSS rule to show <img> in right-pane and left-pane (rstudio/rmarkdown/issues#1949, #770)

  • Allow for hidden but not suspended leaflet maps to queue calls (such as add raster images) until they are rendered. If a new leaflet map is created, all pending calls are removed. (#771)