You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like regular rmarkdown, when generating the HTML file, includes the entirety of htmlwidgets and Leaflet JavaScript libraries, and the output file is about 1 MiB in size. knitrBootstrap on the other hand does not, the output is ~25 KiB. The framework for the map is generated, but there are no libraries to actually act upon the HTML objects placed at the spot we want to have the map.
Just including Leaflet is also not enough, and htmlwidgets don't seem to have a hosted version, so just editing the output file doesn't seem to be an option.
The shiny example is included using an iframe, perhaps as a workaround the leaflet map can also be included as an iframe?
The text was updated successfully, but these errors were encountered:
Looks like regular
rmarkdown
, when generating the HTML file, includes the entirety of htmlwidgets and Leaflet JavaScript libraries, and the output file is about 1 MiB in size.knitrBootstrap
on the other hand does not, the output is ~25 KiB. The framework for the map is generated, but there are no libraries to actually act upon the HTML objects placed at the spot we want to have the map.Just including Leaflet is also not enough, and htmlwidgets don't seem to have a hosted version, so just editing the output file doesn't seem to be an option.
The shiny example is included using an iframe, perhaps as a workaround the leaflet map can also be included as an iframe?
The text was updated successfully, but these errors were encountered: