leaflet
Create interactive maps in R using the Leaflet JavaScript library
leaflet relicensed to MIT and finished migrating off R's retired spatial stack
◆Recent moves
- 11mo ago
MIT relicensing and sp dropped from default installs
⚡ SPARKTwo changes that both alter the terms of using leaflet rather than what it draws: the license moves from GPL-2 to MIT, and sp stops being installed by default, with objects converted to sf internally instead. It is the endpoint of the migration that 2.2.0 began by adding terra support and removing rgdal and rgeos.
View source ↗ - 2y ago
terra CRS handling fixed; raster images accept layer options
Follow-up correctness for the terra support added in 2.2.0, plus addRasterImage() gaining gridOptions() so arbitrary Leaflet layer options can be set. Swapping the viridis dependency for viridisLite continues the dependency slimming.
View source ↗ - 2y ago
Provider tile dependency is cacheable by knitr again
With newer leaflet.providers versions the HTML dependency no longer uses temp files, so knitr can cache documents containing provider tiles. A narrow fix for people rendering reports.
View source ↗ - 2y ago
Adds terra support and removes rgdal and rgeos
The release that started the migration: SpatRaster and SpatVector objects from terra are supported, and the dependencies on the now-retired rgdal and rgeos are removed. jQuery moves to jquerylib so the widget carries its own dependencies explicitly.
View source ↗ - 3y ago
Updates proj4.js and fixes examples to stay on CRAN
A bundled proj4.js update plus the minimum example and documentation tweaks needed to remain on CRAN. Housekeeping ahead of the 2.2 line's real work.
View source ↗