Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# leaflet (development version)

* updated leaflet.js to 1.9.4 (#923)

* updated plugins:
* proj4js to 2.12.0 (#941)
* Leaflet.markercluster to 1.4.1
* Leaflet.MarkerCluster.LayerSupport to 2.0.1
* Leaflet-Minimap to 3.6.1
* Leaflet.Easybutton to 2.4.0

* `{leaflet}` no longer install sp by default and attempts to convert object to sf internally before creating a map and warns when it fails conversion (@olivroy, #942).

* The `breweries91`, `atlStorms2005`, and `gadmCHE` datasets are now `{sf}` objects (@olivroy, #944).
Expand Down
4 changes: 2 additions & 2 deletions R/dependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ leafletBindingDependencies <- function() {
jquerylib::jquery_core(3),
htmltools::htmlDependency(
name = "leaflet",
version = "1.3.1",
version = "1.9.4",
package = "leaflet",
src = "htmlwidgets/lib/leaflet",
script = "leaflet.js",
Expand All @@ -28,7 +28,7 @@ leafletBindingDependencies <- function() {
),
htmltools::htmlDependency(
name = "proj4",
version = "2.6.2",
version = "2.12.0",
package = "leaflet",
src = "htmlwidgets/plugins/Proj4Leaflet",
script = "proj4.min.js",
Expand Down
4 changes: 2 additions & 2 deletions R/layers.R
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ epsg3857 <- "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y
#' @param method the method used for computing values of the new, projected raster image.
#' `"bilinear"` (the default) is appropriate for continuous data,
#' `"ngb"` - nearest neighbor - is appropriate for categorical data.
#' Ignored if `project = FALSE`. See [projectRaster()] for details.
#' Ignored if `project = FALSE`. See [raster::projectRaster()] for details.
#' @param maxBytes the maximum number of bytes to allow for the projected image
#' (before base64 encoding); defaults to 4MB.
#' @param options a list of additional options, intended to be provided by
Expand Down Expand Up @@ -1000,7 +1000,7 @@ markerClusterDependencies <- function() {
list(
htmltools::htmlDependency(
"leaflet-markercluster",
"1.0.5",
"1.4.1",
"htmlwidgets/plugins/Leaflet.markercluster",
package = "leaflet",
script = c(
Expand Down
2 changes: 1 addition & 1 deletion R/plugin-easybutton.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ leafletEasyButtonDependencies <- function() {
list(
htmltools::htmlDependency(
"leaflet-easybutton",
"1.3.1",
"2.4.0",
"htmlwidgets/plugins/Leaflet.EasyButton",
package = "leaflet",
script = c("easy-button.js", "EasyButton-binding.js"),
Expand Down
2 changes: 1 addition & 1 deletion R/plugin-minimap.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ leafletMiniMapDependencies <- function() {
list(
htmltools::htmlDependency(
"leaflet-minimap",
"3.3.1",
"3.6.1",
"htmlwidgets/plugins/Leaflet-MiniMap",
package = "leaflet",
script = c("Control.MiniMap.min.js", "Minimap-binding.js"),
Expand Down
Loading