v2.1.0
leaflet 2.1.0
Bug fixes and improvements
-
Enable JS function literals (wrapped in
htmlwidgets::JS()
) to be included in arguments to methods invoked onleafletProxy
objects. (JS function literals could already be included with methods invoked onleaflet
objects, so this change just bringsleafletProxy
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)